Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

check if body has class javascript

document.body.classList.contains('my-class-name')
Source by codetogo.io #
 
PREVIOUS NEXT
Tagged: #check #body #class #javascript
ADD COMMENT
Topic
Name
5+9 =