Reputation: 12740
I have examples for auto-suggestion(completion) with AJAX version, jQuery version. AJAX is more cross browsers compatible, jQuery is very neat but have some issues if using IE or older versions such as setting height of the list.
The problem is, website I'm creating is for one of those nations who are using old versions of everything so I should be very careful.
I myself used, this AJAX model many times and learned jQuery autocomplete yesterday which works fine for me but won't for people I mentioned.
For this particular subject, I would like to know you thoughts about which auto-suggestion(completion) example would be same, or any example links.
Mush appreciated, thanks
Upvotes: 0
Views: 229
Reputation: 158051
AJAX is a concept (Asynchronous Javascript XML, or something like that). jQuery is a Javascript framework, which makes it easier to do cross-browser AJAX requests.
Unless you have a really good reason not to use jQuery¹, I'd use jQuery for this. jQuery UI supports autocomplete as well: http://jqueryui.com/demos/autocomplete/
¹ If you're already using a different library, Prototype, Ext, etc, these usually have similar support for making cross-browser ajax requests easier as well. Read the docs :)
Upvotes: 2