It is best to use the jquery user interface built into the Autocomplete Widget. http://jqueryui.com/demos/autocomplete/
The good part is that all jquery scripts can be downloaded from the Google CDN. No extra load on your server.
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/themes/base/jquery-ui.css" type="text/css" media="all" />
<script src="http://ajax.aspnetcdn.com/ajax/jQuery/jquery-1.5.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js" type="text/javascript"></script>
source
share