Hello!
I have this page where I list all users in a table. There is checkbox in
every row. My User-model has a “checked”-attribute.
I have implemented the checkboxes like this:
<%= check_box(“user[]”, “checked”) %>
Which outputs this:
How can i check/uncheck all checkboxes in one click? Do I have to use
javascript and have onClick()-event?