Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

style through javascript

element.style.backgroundColor = "red";   // set the background color of an element to red
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #style #javascript
ADD COMMENT
Topic
Name
1+8 =