114
rated 0 times
[
120]
[
6]
/ answers: 1 / hits: 56428
/ 11 Years ago, fri, september 13, 2013, 12:00:00
I cant seem to click all of the elements.
document.getElementsByClassName('node closed')[0].click();
This works but will only click on the first element. I need this to click all of the elements with class 'node closed'.
Thanks
More From » class