[Javascript] DISABLED key word

Andrew Dunn adunn at mail.interworx.com.au
Sat May 19 08:24:51 CDT 2001


I have come to the conclusion that I don't like Netscape 4 at all.

It really does suck

-----Original Message-----
From: javascript-admin at LaTech.edu [mailto:javascript-admin at LaTech.edu]On
Behalf Of Peter-Paul Koch
Sent: Saturday, 19 May 2001 9:22 PM
To: javascript at LaTech.edu
Subject: Re: [Javascript] DISABLED key word




>    Does anyone know the way to make a select box DISABLED with Javascript?

Try

document.forms[0].element_name.disabled = true;

Of course this will never work in Netscape 4, because it doesn't support
disabling form elements.

ppk

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.


_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript





More information about the Javascript mailing list