For example, how do you get the 2 in a single line?
Example:
document.getElementsByClassName("teste")[0].removeAttribute("disabled");
I want to get 0
and 1
You can get the 2 together, or I'll have to create two lines like this;
document.getElementsByClassName("teste")[0].removeAttribute("disabled");
document.getElementsByClassName("teste")[1].removeAttribute("disabled");
?