Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

query select multiple classes

var list = document.querySelectorAll(".class1.class2");
//Class1 AND Class2
var list = document.querySelectorAll(".class1,class2");
//Class1 OR Class2
Comment

PREVIOUS NEXT
Code Example
Javascript :: js skip to next iteration 
Javascript :: javascript transpose array 
Javascript :: FAILURE: Build failed with an exception react native android 
Javascript :: electron file association 
Javascript :: cypress display timestamp in milliseconds 
Javascript :: useref not defined : error 
Javascript :: package.json tilde vs caret 
Javascript :: expo image picker 
Javascript :: reverse a linked list javascript 
Javascript :: search if value exists in object javascript 
Javascript :: resize image react native 
Javascript :: how to hide url parameters in address bar using javascript 
Javascript :: how to use compare password in node js 
Javascript :: Use History React Router v6 app 
Javascript :: javascript foreach array of object get value by key 
Javascript :: flatlist react native 
Javascript :: jquery alert design 
Javascript :: how to generate color code from random number 
Javascript :: generate random hex 
Javascript :: curl post json file 
Javascript :: connecting react to socket.io 
Javascript :: adding firebase to angular 
Javascript :: string.find javascript 
Javascript :: html string to object jquery 
Javascript :: word count javascript 
Javascript :: get parent id javascript 
Javascript :: vue js required props 
Javascript :: react materilize 
Javascript :: how to install mongodb in node js 
Javascript :: javascript get last n characters of string 
ADD CONTENT
Topic
Content
Source link
Name
1+9 =