Netscape and Enabling buttons

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,077
Messages
2,570,566
Members
47,202
Latest member
misc.

Latest Threads

Top