Thursday, May 26th, 2005
The sample page shows text input boxes. If you start to type in there, you get a GMail/Yahoo Mail address lookup affect.
The author has a view:
I would describe this framework’s autocompletion implementation as “at least as good as GMail’s, not quite as pretty as Google Suggest’s but ought to be extended to get there, far better than Yahoo’s, pretty darn cross-browser compatible, mostly standards-compliant”. Most importantly, it has plenty of room for improvement and derivatives, which is part of my motivation for releasing it to the Open-Source Community under a BSD-style License. Which means you pretty-much can do whatever you want with it as long as you keep the copyright in place.
One key requirement I strive to meet is to allow an HTML document to load and be usable right-away while the library may take an extra few seconds to load without getting in the way of the user experience. Even if the script hasn’t loaded, an HTML form is to remain usable and accessible as it previously was. When the script is finally done loading, and the “collection” array populated, event handlers get registered, at which point an end-user starts seeing suggestions for what they’re in the middle of typing, if and only if the input field they’re typing in, has a class attribute with a special value.
Ajax support isn’t there yet.
Posted by Dion Almaer at 9:10 am