Created
August 10, 2016 13:56
-
-
Save tusbar/11a30cdfb1b6546280fa2271b046c584 to your computer and use it in GitHub Desktop.
Never check those radio buttons ever again
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
document.querySelectorAll('input[type="radio"][value="10"]').forEach(r => { r.checked = true }); | |
document.querySelector('form').submit(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment