javascript change frame background

JavaScript
window.frames['frameName'].document.body.style.backgroundColor = "#000";
Source

Also in JavaScript: