Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript give class to element

element.classList.add("div-class");
 
PREVIOUS NEXT
Tagged: #javascript #give #class #element
ADD COMMENT
Topic
Name
8+1 =