Javascript Document.bgColor does not work
<p>In the below code, I get the two dialog boxes, but the bgColor of the page is never changed. Is there any standard that font / color changes are not honored in JavaScript ?</p>

<pre><code> &lt;html&gt;
&lt;head&gt;
&lt;/head&gt;

&lt;body bgColor="GRAY"&gt;
&lt;script type="text/javascript"&gt;
document.write("This message is written by JavaScript");
alert('Am here');
alert('Am here again');
document.bgcolor="WHITE";
&lt;/script&gt;
&lt;/body&gt;

&lt;/html&gt;
</code></pre>
