Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get element by multiple class

var list = document.getElementsByClassName("class1 class2");
var list = document.querySelectorAll(".class1.class2");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #element #multiple #class
ADD COMMENT
Topic
Name
3+9 =