0
Has JavaScript eq selector ?
We can select elements with eq[] in JQuery What about JavaScript ?
2 Answers
+ 7
Just an array index
document.getElementsByClassName('rogue')[0]
(Highlight at [0])
0
eq?
We can select elements with eq[] in JQuery What about JavaScript ?