Auto Complete 4.0
Auto Complete sends input from a user to a script server side, and creates a drop down with the
JSON data returned. It supports the
metadata plugin,
as well as script level caching. A few examples are included on this page, but check out the
docs
for a full list of features.
Prevent form submission when running callbacks on selection
$('input[name=search2]').autoComplete({
preventEnterSubmit: true,
onSelect: function(data, $li){
alert('You have selected ' + data.value);
}
});
Be sure to check out the
docs for a full list of options.