Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get elements by multiple class names

var elems = document.getElementsByClassName("class1 class2 class3");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #elements #multiple #class #names
ADD COMMENT
Topic
Name
5+1 =