Sets or gets the value that indicates whether the user can interact with the object.
Syntax
HTML | N/A |
---|
Scripting | [ p = ] object.disabled [ = v ] |
---|
Possible Values
p | Boolean that
specifies or receives one of the following values.true | Element is disabled. | false | Element is not disabled. |
|
The property is read/write.
The property has no default value.
Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.
Standards Information
This property is defined in
HTML 4.0 and
is defined in
World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 .
Applies To
|
BODY,
CAPTION,
DD,
DIV,
DT,
FONT,
FORM,
ISINDEX,
LABEL,
LEGEND,
LI,
MARQUEE,
OL,
P,
UL |