Auto complete a text field


#1

Hi,

Im looking for a way to autocomplete a text field, I have found this,
http://wiki.rubyonrails.com/rails/pages/HowToUseAdvancedAutocompleteFeatures
but at the top it says “Note that thereâ??s easier ways to do this built
into newer versions of Rails, this was written in the early days of the
framework. If I get a chance, maybe Iâ??ll update.”

Any ideas where i can find some info on this improved version

thanks
scott


#2

There’s some stuff on the API:
http://api.rubyonrails.org/classes/ActionView/Helpers/JavaScriptMacrosHelper.html

I seem to remember there’s also a good walkthrough at Amy Hoy’s website:
http://www.slash7.com/articles/2005/08/13/ajaxariffic-autocomplete-with-scriptaculous

and also at the scriptaculous website itself.

HTH