Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

query select multiple classes

var list = document.querySelectorAll(".class1.class2");
//Class1 AND Class2
var list = document.querySelectorAll(".class1,class2");
//Class1 OR Class2
 
PREVIOUS NEXT
Tagged: #query #select #multiple #classes
ADD COMMENT
Topic
Name
8+5 =