Hi Jay, On Mon, 2009-08-17 at 14:24 -0700, Jay wrote: > I'm trying to observe a field that get generated inside a fields_for > loop (I'm trying to create the form dynamically depending on a > selection value). Is there a way to access the index in the field_for > loop?
What do you mean by 'index'? The observe_field method takes a DOM id. If you're having trouble, post the view and the page source that results. It's very difficult to help with such sparse information. Best regards, Bill --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

