With KoolAutoComplete, you can easily make a Google-like AutoSuggest.
span style="color: #ff0000;">"/KoolAutoComplete/koolautocomplete.php""/KoolAjax/koolajax.php""kac");
$kac->scriptFolder = $KoolControlsFolder."/KoolAutoComplete";
$kac->width = "160px";
$kac->attachTo = "txtSearch";
$kac->styleFolder="default""select KeyWord,ResultNo from kac_tbKeyWords where KeyWord like '$text%'""text"=>$row["KeyWord"],"ResultNo""ResultNo""<table style='text-align:left'><tr><td class='keyword'>{text}</td><td class='resultno' align='right'>{ResultNo} results </td></tr></table>";
$kac->footerTemplate = "<div class='footer'><a href='javascript:close_autocomplete()'>close</a></div>""service""service""text/css">
#txtSearch
"width:650px;">
<tr>
<td align="center">
<img src="Images/logo_plain.png" alt="google" />
</td>
</tr>
<tr>
<td align="center">
<input type="text" id="txtSearch" autocomplete="off"/>
<br/>
<input type="button" id="btnSearch" value="Google Search" onclick="doSearch()"/>
<input type="button" id="btnLucky" value="I'm Feeling Lucky""text/javascript""txtSearch""http://www.google.com/search?hl=en&btnG=Google+Search&aq=f&oq=&aqi=g10&q=""txtSearch""height:50px;"></div>
</div>