views:

591

answers:

2

I think I would like to make the switch from Scriptaculous to YUI. So, the first thing I am trying to do is an autocomplete feature on the front page of my application demo. Every single search I do for this, refers me to YUI2 examples and instructions. These use YAHOO objects instead of YUI objects, and I just don't trust that this is the right way to do it.

If I was already familiar with 2.x, it may not be too hard, but I'm coming from a different set of libraries. Does anyone have instructions how to implement an autocomplete feature using YUI 3? Any help would be appreciated.

Thanks, Dave

+1  A: 

A lot of the widgets haven't been ported from 2.x to 3.x yet. If you're really opposed to using YUI 2.x, you could probably port the widget yourself; YUI is on GitHub.

Hank Gay
+1  A: 

Some initial work was done on AutoComplete in YUI 3. Due to resource issues, it was moved to the Gallery for the time being so implementers would have access to it until it is fully fleshed out, documented, and examples written for official release.

http://yuilibrary.com/gallery/show/autocomplete

Luke
Thanks. It does not look nearly as polished as YUI is supposed to be. YUI3 is supposed to automatically load any needed modules, and the first thing this one does is manually load very specific modules.Basically, if this is the best they have so far, I will probably keep Scriptaculous for a while, since I already have that working. Thanks for the info.
the Hampster