Skip to content

Instantly share code, notes, and snippets.

@jcisio
Last active March 17, 2016 10:20
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jcisio/6ee54cbd00c41c99f222 to your computer and use it in GitHub Desktop.
Daily tools
// List checked checkboxes
(function () {
var checkboxes = document.querySelectorAll('[checked=checked]');
for (var i = 0; i < checkboxes.length; ++i) {
console.log(checkboxes[i].name);
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment