you can use Jquery and use the autocomplete option..<div><br></div><div><a href="http://jqueryui.com/demos/autocomplete/">http://jqueryui.com/demos/autocomplete/</a></div><div><br></div><div>you will need the cache all the options first in this case.</div>
<div><br></div><div>regards,</div><div>Imran<br><br><div class="gmail_quote">On Mon, Feb 6, 2012 at 2:46 PM, Diego M. <span dir="ltr">&lt;<a href="mailto:oo_O2_oo@hotmail.com">oo_O2_oo@hotmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
*I want to build the same example here*<br>
<a href="http://ian01.geog.psu.edu/geoserver/www/search/gazetteer.html" target="_blank">http://ian01.geog.psu.edu/geoserver/www/search/gazetteer.html</a><br>
<a href="http://ian01.geog.psu.edu/geoserver_docs/apps/gaz/index.html" target="_blank">http://ian01.geog.psu.edu/geoserver_docs/apps/gaz/index.html</a><br>
<br>
*but am not using GeoExt*<br>
<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
--<br>
View this message in context: <a href="http://osgeo-org.1560.n6.nabble.com/How-to-apply-a-Search-Function-tp4364140p4368777.html" target="_blank">http://osgeo-org.1560.n6.nabble.com/How-to-apply-a-Search-Function-tp4364140p4368777.html</a><br>

Sent from the OpenLayers Users mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.osgeo.org">Users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/openlayers-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/openlayers-users</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>I.R<br>
</div>