AJAX Autocomplete Example - Autocomplete for Id/Value
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.
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.
AJAX Autocomplete Examples to be read along with AJAX Autocomplete Tutorial