Dom/Javascript Color Change

It took me way too long to figure this out, but it will be quite handy. I just wanted to change the color (or any style property) of an element on a webpage to another value on the fly with JavaScript. I think I finally figured it out with dom.


Note: Replies will be formatted with PHP Markdown Extra syntax.

Name: Email (Not Required):
 
Logged IP: 3.133.148.76
To prevent spam please submit by clicking the kitten: