I’m trying to keep all scripts at the bottom of the page, so the page
will load quicker.

So, at the bottom of my layout I have an $ajax->observeField() which
observes a select dropdown at the top of the page.

The first time the select is changed, the observeField()sends an ajax
request to the server, as expected.

The ajax request replaces the select dropdown, and gives the new
select the same ‘id’ as the old one.

The observeField() no longer recognizes changes to the new select,
even though it has the same id.

I would like the replaced select to also be observeable.

Any ideas how this might be done, yet still maintain the scripts at
the bottom of the page?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to