Last active
May 27, 2019 03:34
-
-
Save sailist/ae409fb704e2d768b8991ba3a5c16693 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
ele = $('tbody tr input'); | |
index = 0; | |
value = [0,0,0,0,0, | |
0,0,0,0,0, | |
0,0,0,0,0, | |
0,0, | |
1,1,2,0]; | |
txt = "老师教的很好"; | |
textarea = $('textarea'); | |
for(i = 0;i<ele.length;i+=5) | |
{ | |
ele[i+value[index]].click(); | |
index++; | |
} | |
textarea.val(txt); | |
$('#tjButtonId').click(); | |
$('.aui_state_highlight').click(); | |
setTimeout(function(){ | |
$('.aui_buttons button').click(); | |
setTimeout(function(){ | |
$('#fhButtonId').click(); | |
},1000); | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment