K
K. Banfield
Hi Again,
another issue with Netscape capatibility... this time i have a button that
is initially disabled and i want to enable it on certain events... here's
the code i've used that works on I.E.... i realize how much code i've
learnt that's MS specific... but holy cow Netscape is soooo picky.... good
grief....
your help is greatly appreciated...
<html>
<script language="JavaScript">
function enableBttn()
{
document.getElementById('bttnNormal').disabled = false;
}
</script>
<head>
<title>Untitled</title>
</head>
<body>
<form name="frmTest">
<input type="Button" name="bttnNormal" value="test" disabled>
<input type="Button" name="bttnNormal2" value="Enable Button"
onclick="enableBttn();">
</form>
</body>
</html>
another issue with Netscape capatibility... this time i have a button that
is initially disabled and i want to enable it on certain events... here's
the code i've used that works on I.E.... i realize how much code i've
learnt that's MS specific... but holy cow Netscape is soooo picky.... good
grief....
your help is greatly appreciated...
<html>
<script language="JavaScript">
function enableBttn()
{
document.getElementById('bttnNormal').disabled = false;
}
</script>
<head>
<title>Untitled</title>
</head>
<body>
<form name="frmTest">
<input type="Button" name="bttnNormal" value="test" disabled>
<input type="Button" name="bttnNormal2" value="Enable Button"
onclick="enableBttn();">
</form>
</body>
</html>