Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript set element class

cell.className += (cell.className ? " " : "")+"current_class";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #set #element #class
ADD COMMENT
Topic
Name
3+9 =