The jQuery Typeahead Search is a simple plugin that suggest search results from the character(s) that were typed in the search bar using JavaScript. It gives a search preview from Json object(s) via same domain Ajax request or cross domain Jsonp and offers data compression inside Local Storage. The plugin is built with a lot of options and callbacks to allows customization.
Download: https://github.com/running-coder/jquery-typeahead
Demonstration:
Plugin homepage:
Implementation:
$('#myinput').validate(
source: {
data: [ ... ]
}
,
callback: {
onInit: function () { ... }
}
});
Options:
Screenshots: