I'm using a fields_for helper in rails with some text boxes. How can I get the ID of these text boxes to use in some Javascript? I would like to be able to manipulate the status of the other checked boxes by clicking on certain boxes. Thanks :)
Stuff like:
<% fields_for "[id][]", app do |fields| %>
<%= fields.check_box :featured %>
...
and then do something with scriptaculous or an onclick to deal with what happens to other generated check boxes...thanks