Topic: suggestion for a select all checkbox ?
i have a bunch of checkboxes that i would like to incorporate a select all button for.
the code looks like this:
<% @sites.each do |site| %>
<td> <%= check_box_tag "site_ids", site.id %> </td>
<td> <%= site.site_name %> </td>
<% end %>
is anyone out there doing something similar ?