Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js check for class in classList

element.classList.contains(className);
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #js #check #class #classList
ADD COMMENT
Topic
Name
9+6 =