J
Jerome Bei
Hi,
I have encountered a strange behaviour in IE6 when disabling the
document body tag using JavaScript. Nested elements of a <TABLE> are
rendered twice, in gray and white color. (See example code below). I
think what the browser is trying to do is to render the white text as
shadow and put the gray text over it, which fails ;-)
Iterating through each form and manually disabling each element works
fine, but as I have like 600 elements in my form the iteration is
consuming too much time.
Any ideas?
Thanks,
--Jerome
<HTML>
<HEAD></HEAD>
<BODY>
<FORM>
<TABLE>
<TR>
<TD><input type="TEXT" VALUE="12345678"></TD>
<TD><BUTTON
onclick="document.body.disabled=!document.body.disabled">Switch</BUTTON></TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>
I have encountered a strange behaviour in IE6 when disabling the
document body tag using JavaScript. Nested elements of a <TABLE> are
rendered twice, in gray and white color. (See example code below). I
think what the browser is trying to do is to render the white text as
shadow and put the gray text over it, which fails ;-)
Iterating through each form and manually disabling each element works
fine, but as I have like 600 elements in my form the iteration is
consuming too much time.
Any ideas?
Thanks,
--Jerome
<HTML>
<HEAD></HEAD>
<BODY>
<FORM>
<TABLE>
<TR>
<TD><input type="TEXT" VALUE="12345678"></TD>
<TD><BUTTON
onclick="document.body.disabled=!document.body.disabled">Switch</BUTTON></TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>