Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

document getelementsbyclassname not getting all elements

//use this instead
document.querySelectorAll(".myclassname");
 
PREVIOUS NEXT
Tagged: #document #getelementsbyclassname #elements
ADD COMMENT
Topic
Name
4+4 =