Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to change color on js

document.getElementBiId("your id").style.color = "your color";
//it can also be used as:
document.body.style.backgroundColor = "your color";
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #change #color #js
ADD COMMENT
Topic
Name
3+3 =