-
-
Save khripunovpp/ac60b7bf5697f34a20c8819f305ba557 to your computer and use it in GitHub Desktop.
Object forEach IE
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 list = document.querySelectorAll('input[type=checkbox]'); | |
Array.prototype.forEach.call(list, function (checkbox) { | |
checkbox.checked = true; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment