Created
December 26, 2014 15:34
-
-
Save aweimeow/4c8a68d07ff33eb53938 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 arr=[0,2,4,9,18,22,27,32,39,42]; | |
var count=0; | |
var a = document.querySelectorAll("input[type=radio]"); | |
var send = document.querySelectorAll("input[type=submit]"); | |
for(var i = 0; i<a.length; i++) | |
{ | |
if(i==arr[count]) | |
{ | |
a[i].click(); | |
count++; | |
} | |
} | |
send[0].click(); | |
var send = document.querySelectorAll("input[type=submit]"); | |
var b = document.querySelectorAll("input[type=radio]"); | |
for(var i = 0; i<b.length; i+=5) | |
{ | |
b[i].click(); | |
} | |
send[1].click(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment