javascript changing background code example
Example 1: javascript change frame background
window.frames['frameName'].document.body.style.backgroundColor = "#000";
Example 2: JavaScript Change Background Color
var element = document.body;
element.style.backgroundColor = "blue";