Hello:
I wanna make certain fields in my page to show me like a list of possible finishing sentences just like Google does.
I think this is done via jQuery, but I'm not sure.
The textfield is named commodity.
Let's say I write General and in the list, array, or DB I have General Commodity I should show me General Commodity under the textfield.
Thanks in advance!
-------UPDATE-------
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.5/jquery-ui.min.js">
var data = "General Commodity,General Store,General Custer,General Mills".split(",");
$("#Ccommodity").autocomplete({
source: data
});
</script>
When I go to the Ccommodity input textfield I write G and nothing happens, maybe I have some syntax error there.
Thanks for the help