46
rated 0 times
[
49]
[
3]
/ answers: 1 / hits: 56969
/ 12 Years ago, wed, january 9, 2013, 12:00:00
I have a loop that creates 20 check-boxes in the same page (it creates different forms). I want via chrome developer tools to run a JavaScript without the use of any library that CHECK all check-boxes at the same time.
This is as far as I got:
function() {
var aa= document.getElementsByTagName(input);
for (var i =0; i < aa.length; i++){
aa.elements[i].checked = checked;
}
}
PS: I have searched and found a lot of Questions in Stack-Overflow but none worked for me, I'll be glad if someone could find me the correct answer.
More From » google-chrome