Using text_field_with_auto_complete with afterUpdateElement

Hello everybody!

I’m fairly new to RoR (Rails ver 1.2.6) but have managed to get the
‘text_field_with_auto_complete’ working alright in my application.

Next step is to be able to synchronize 2 (or more)
‘text_field_with_auto_complete’ fields so that the users selection in
the first field immediately affects the available choices of the next
(and so on).

So far I have figured out that ‘afterUpdateElement’ must be the right
way to go but can’t really find out how to do it right…

Can anybody help on this - preferably with an example?

Regards!

Peter Jeppesen wrote:

Hello everybody!

I’m fairly new to RoR (Rails ver 1.2.6) but have managed to get the
‘text_field_with_auto_complete’ working alright in my application.

Hello Peter!!!

Sorry to bother you!!! But I have a question how did you do to make the
auto_complete work, I’m trying to do it but nothing happened, look my
post Problem with auto_complete! - Rails - Ruby-Forum . Peter if you can give
an example I’ll appreciate. Thank you!!!