G
Guest
Hello NG,
I found a simple bug from which I can't believe, that nobody else
has found it before me.
Put this simple code in a html file and open it with ie.
Than press the disable button.
The disabled control are rendered in a complete buggy way.
Is there a way to circumvent that problem?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
</head>
<body>
<script language="javascript">
function disable( disable )
{
if ( 1 == disable )
document.forms[0].disabled = true;
else
document.forms[0].disabled = false;
}
</script>
<INPUT onclick="disable( 1 )" id="Button1" type="button" value="disable"
name="Button1">
<INPUT onclick="disable( 0 )" id="Button2" type="button" value="enable"
name="Button2">
<form runat="server">
<table>
<tr>
<td>
<table style="TABLE-LAYOUT: fixed">
<tr>
<td bgcolor="red">IE BUG
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
thanks
michael
I found a simple bug from which I can't believe, that nobody else
has found it before me.
Put this simple code in a html file and open it with ie.
Than press the disable button.
The disabled control are rendered in a complete buggy way.
Is there a way to circumvent that problem?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="ProgId" content="VisualStudio.HTML">
<meta name="Originator" content="Microsoft Visual Studio .NET 7.1">
</head>
<body>
<script language="javascript">
function disable( disable )
{
if ( 1 == disable )
document.forms[0].disabled = true;
else
document.forms[0].disabled = false;
}
</script>
<INPUT onclick="disable( 1 )" id="Button1" type="button" value="disable"
name="Button1">
<INPUT onclick="disable( 0 )" id="Button2" type="button" value="enable"
name="Button2">
<form runat="server">
<table>
<tr>
<td>
<table style="TABLE-LAYOUT: fixed">
<tr>
<td bgcolor="red">IE BUG
</td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>
thanks
michael