AJAX Autocomplete Example - Autocomplete for Id/Value


Option ID (will be filled automatically after selection of option):
AutoComplete Text Box:

Now we are talking mostly in Javascript.

AJAX data returns both id and value now. In original script the Option ID will be hidden, presently showing for tutorial purpose.

The AJAX data is formatted using javascript and suggested options also highlights the common character.

While any previous AJAX call is in progress, you cannot send any new AJAX call. This facilitates in better search and lesser AJAX calls. Hence you can type more characters between AJAX calls and refine the search results better.



SHARE Whatsapp Facebook Twitter To TOP