Created
March 7, 2017 12:19
-
-
Save ramons03/42cfa0d4fbf7919a3f918903f79f2ece to your computer and use it in GitHub Desktop.
Uncheck all checkbox in javascript console.
This file contains hidden or 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
var allInputs = document.getElementsByTagName("input"); | |
for (var i = 0, max = allInputs.length; i < max; i++){ | |
if (allInputs[i].type === 'checkbox') | |
allInputs[i].checked = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment