Forum: Ruby on Rails Accessing AJAX'ed elements via javascript

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
E4c4a05719644c37f02dc5181de7c8c5?d=identicon&s=25 Buntin, Seth - KATE (Guest)
on 2006-03-01 23:22
(Received via mailing list)
Is there a way to get access (via javascript) the page elements that
were populated with AJAX (observe_field)?  If you look at my source I
have:



<select name="resource[sub_focus_id]"
id="resource_sub_focus_id"></select>



But the actual select menu is filled with options because I used the
observe_field to fill in the options.  Now I want to be able to access
those options.



Can I get access to these?



Seth Buntin
455ac2a64d06dc8461f4d258d7f7e980?d=identicon&s=25 Michael Trier (Guest)
on 2006-03-02 02:16
(Received via mailing list)
I'm not sure I know what you're looking for, but does this help:

http://wiki.rubyonrails.org/rails/pages/observe_fi...

Michael
This topic is locked and can not be replied to.