Last active
March 13, 2017 07:26
-
-
Save roatnek/574433728e7f68c7a929fcc9c073a500 to your computer and use it in GitHub Desktop.
チェックしたチェックボックスをアンチェックする
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
var checkbox = document.querySelector('input[type="checkbox"]'); | |
checkbox.addEventListener('click', function(event) { | |
event.target.checked = false; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment