Created
November 28, 2014 12:48
-
-
Save saiberz/ce92697249a81c30ffd5 to your computer and use it in GitHub Desktop.
Rellenar encuesta
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
(function(){ | |
var inputElements = document.getElementsByTagName("input"); | |
for (var i=inputElements.length-1; i>=0; i--) { | |
if (inputElements[i].getAttribute('type') == 'radio') { | |
inputElements[i].checked = true; | |
} | |
} | |
})(); | |
document.getElementsByTagName("button")[1].click() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment