[Javascript] DISABLED key word

Peter-Paul Koch gassinaumasis at hotmail.com
Sat May 19 06:21:38 CDT 2001


>    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.





More information about the Javascript mailing list