change background property javascript code example
Example 1: javascript change frame background
window.frames['frameName'].document.body.style.backgroundColor = "#000";
Example 2: set background color dynamically javascript
document.body.style.backgroundColor="white"