Created
February 3, 2016 02:22
-
-
Save demsey2/d31c96479afc4fc899a8 to your computer and use it in GitHub Desktop.
ClickAllCheckboxes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.prototype.forEach.call(document.querySelectorAll('input[type=checkbox]'), function(l){l.onclick = null; l.click()}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment