SyntaxFix
Write A Post
Hire A Developer
Questions
In IE9+, Chrome or Firefox you can do:
var checkedBoxes = document.querySelectorAll('input[name=mycheckboxes]:checked');