Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to check has class name in js?


        
            
        
     element.classList.contains(className);Code language: CSS (css)
Source by www.javascripttutorial.net #
 
PREVIOUS NEXT
Tagged: #check #class
ADD COMMENT
Topic
Name
9+1 =