Hmm, maybe we could some parts together. I like the one in the second
link, but looking at the code, I think there's more extra in there. I
would still need to check it out more thoroughly.

One thing I would like to do is extend the autocomplete functionality
to autocomplete for a whole object.

eg: If you have an Address model which contains street, city, region,
zip. In a form you start typing the street and the autocomplete popup
comes up with the full address. When you choose the address, it
automatically fills in all the fields for the address. Has anybody
done that yet and is it possible to do it easily with Prototype?

On Feb 5, 8:34 pm, Pat <[email protected]> wrote:
> Hi... I wrote some similar code, and packaged it up into a plugin.
> See:http://patshaughnessy.net/repeated_auto_complete
>
> I also know there are a few other forks of the auto_complete plugin
> that also solve this same problem, for 
> example:http://warrenseen.com/blog/2009/01/16/rails-auto-complete-with-form_f...
>
> Or just look through the auto_complete forks on 
> github:http://github.com/rails/auto_complete/network/members
>
> Hope this helps, - pat
>
> On Jan 9, 9:23 pm, alyoshka <[email protected]> wrote:
>
>
>
> > Ooh, that code isn't too readable. Um, I posted it on my website as
> > well:http://detyabozhye.com/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to