Click to See Complete Forum and Search --> : "Disabled" property doesn't work.


redundguy
06-06-2003, 01:54 AM
I need to use the “disabled” property of a form control (like button, or text, or select).
This property works fine with Internet Explorer but it doesn't work with Netscape: with Netscape the control isn't disabled! (I use disabled=”true”). How can I use "disabled" property with Netscape?
Also, these form control objects have the “disabled” property that can be set in JavaScript with Internet Explorer, but Netscape Javascript don't recognize this property. Why?

Khalid Ali
06-06-2003, 03:51 AM
you must have SOCTYPE strict imported in your html page

use the following

disabled="disabled"

brendandonhue
06-06-2003, 06:29 AM
In case your not used to using Doctypes, Khalid meant the
Doctype has to be Strict.

Khalid Ali
06-06-2003, 09:59 AM
lol..thanks brendan...

it was waaaay to early in the night..