I think this js code may help you.
//use is the name of the checkboxes
var noOfEl = document.getElementsByName("use")
//loop through the checkboxes checking each one to
//see if it has been checked
for(var i=0;i<noOfEl.length;i++) {
if (noOfEl[i].checked) {
//do your other...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.