AJAX Autocomplete Tutorial >> AJAX Autocomplete Final Words
Rishi Kashyap
8.72 K
X

AJAX Autocomplete Final Words


0

Is it the best AJAX autocomplete ?
Of course not ! There is large scope of improvement. It could be modified for more than one text box. OOPS and event binding too can be done of which I am ignorant now. I have tested it in latest version of Internet Explorer, Chrome and Firefox browser. Browser compatibility needs to be improved.

AJAX Calls too can be made using any framework. I avoid such framework simply because of the file size, same reason why I do not use Jquery for autocomplete. You are in more control when you know what and where to change as per your requirement.

One word of caution is that my AJAX script had a line which forms the base of this scriptfunction $(id){return document.getElementById(id)}This function simply returns the element with the specified Id. This is used in almost all framework and is the soul of DHTML. So if you are getting JS error "ReferenceError: $ is not defined" then it means you need to add the said code to your javascript files.

Your reply and suggestions are welcome.

Rishi Kashyap | | EDIT

SHARE Whatsapp Facebook Twitter To TOP