I would like to use JS to verify that at least one checkmark is selected. I will later verify using PHP, and therefore I would like to use a common name with brackets for all checkmarks. If I have the following html, how would I get the the three checkbox values (assuming checked) in a JS array? After that, I plan on just checking the length. Thanks
[code=html]<form id=”myform” name=”myform”>
<div id=”mydiv” name=”mydiv”>
check 1<input type=”checkbox” name=”mybox[]” id=”mybox[]” value=”2″ >
check 2<input type=”checkbox” name=”mybox[]” id=”mybox[]” value=”4″ >
check 3<input type=”checkbox” name=”mybox[]” id=”mybox[]” value=”6″ >
</div>
</form>