I have javacript code that simply runs
document.bgColor = "darkblue";
per
Mozilla Documentation, however when I step throught the IE debugger, after executing that line the back ground color does not change.
Seems pretty straight forward. I’m assuming that bgColor refers to the CSS attribute background-color under the element body?
I can post the surrounding code if that helps.
This page has a large “deprecated” at the top of it. You should use the current method:
This is stated in the MDN page you cited: