Autocomplete jQuery and JSON Is Now Here

Autocompletion text boxes are one of those nifty little tools that when used in the right setting really add a great user experience.  Just recently I was trying to figure out how to return JSON from a autocomplete call and use jQuery.  Older versions of jQuery only support line break text return values limiting you on what you could return.  So hoping to find something better, I Googled it and low and behold, jQuery UI now incorporates the autocomplete feature using JSON results by default!   As of v1.7, I believe, this is supported.  There is a good blog by Jörn Zaefferer, talking about the work involved in migrating from the old jQuery autocomplete plug-in to the new method.

You can get either download jQuery UI versions or use Google CDN.

No comments: