Forum: Ruby on Rails Autocomplete nested within AJAX partial

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
2d3288b6e1189c1ebb64d9a224964ef8?d=identicon&s=25 Long (Guest)
on 2007-01-30 18:40
(Received via mailing list)
I have the scriptaculous autocomplete working perfectly for normal
page access. But having problems when combining with AJAX.

The page contains a div that is updated dynamically via AJAX.
Also the autocomplete field lives within this dynamic region.

On first load (normal page access) the autocomplete works fine. However
it stops to respond once AJAX updates the region.

It seems I am missing something. I must admit I don't know if JS can
work in this way.

Please help, anyone?

Many thanks,

This topic is locked and can not be replied to.