Created
February 10, 2025 20:31
-
-
Save dindinet/72a9316ee66c9cdcc3e58f169a9c7b15 to your computer and use it in GitHub Desktop.
De-select all checkboxes on the page
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]'); | |
| for (var item of list) { | |
| item.checked = false; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment