I want certain fields on my page to show me a list of possible final offers, like Google does.
I think this is done through jQuery, but I'm not sure.
The text box is called the item.
Let's say I write General, and in the list, array or database I have a Common item, I have to show me the Common item under the text box.
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 text box, I write G and nothing happens, maybe I have a syntax error.
thanks for the help
source
share