2
It has for example, how to take the two in one line?
Example:
document.getElementsByClassName("teste")[0].removeAttribute("disabled");
I want to get the 0
and the 1
There’s a way to get the two together, or I’ll have to create two lines like this;
document.getElementsByClassName("teste")[0].removeAttribute("disabled");
document.getElementsByClassName("teste")[1].removeAttribute("disabled");
?
Either that or a loop
– bfavaretto
the position of the array
[0] e [1]
will always be fixed?– DNick