DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
add multiple class from array javascript
document.getElementById("MyElement").className += " MyClass";
Source by nullorempty.org #
PREVIOUS
NEXT
Tagged:
#add
#multiple
#class
#array
#javascript
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit