DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
8+7 =
Submit