search for: foo_bar_ids_

Displaying 1 result from an estimated 1 matches for "foo_bar_ids_".

2011 May 30
5
rails habtm checkboxes with jquerymobile
...edit form to look like the checkboxes shown in http://jquerymobile.com/demos/1.0a4.1/#docs/forms/forms-checkboxes.html. My desktop code is the following: <%= check_box_tag "foo[bar_ids][]", bar.id, @foo.bars.include?(bar) %> ...and page source is the following: <input id="foo_bar_ids_" type="checkbox" value="19" name="foo[bar_ids][]" checked="checked"> Jquery <br> <input id="foo_bar_ids_" type="checkbox" value="25" name="foo[bar_ids][]"> Web <br> My mobile code is: &...