Thread: Recognizing DIVs from Ajax.updater content
Recognizing DIVs from Ajax.updater
content
2007-01-25 06:48:49
I have a series of Ajax.updaters in my application. A user selects an
item which triggers the ajax call and populates a DIV with some dynamic
data. A user will then select an option from that data which makes
another call and populates a DIV. WIthin that DIV just created
contains another DIV and I would like to make one more Ajax.updater
call to populate it but it seems I have a scope issue or something
because it can't be seen.
For example. On the initial index.cfm page I have a drop down. I can
do an alert($F(dropdown)) and get its value. But if I try that same
alert from one of the DIVs that the Ajax.updater fetches; it doesn't
work.
Can anyone offer some insight on how I should be able to make this work
correctly?
Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffsgooglegroups.com
To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---