Given a form (id = "my_form"
), how do I loop over all checkboxes of the form, checking if the given one is checked or not and grabbing its name/value?
I know how to check a checkbox status given its value, but I need to loop without knowing in advance which checkboxes exist. Thanks.