Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

style through javascript

element.style.backgroundColor = "red";   // set the background color of an element to red
 
PREVIOUS NEXT
Tagged: #style #javascript
ADD COMMENT
Topic
Name
4+4 =