Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
all
alt
ch
dir
id
min
rel
top
url
URL
urn
Expand Minimize

disabled property

Sets or gets the value that indicates whether the user can interact with the object.

Syntax

JavaScript

p = object.disabled

 

Property values

Type: Boolean

true (true)

Element is disabled.

false (false)

Element is not disabled.

See also

body
caption
dd
div
dt
font
form
isIndex
label
legend
li
marquee
ol
p
ul

 

 

Show:
© 2015 Microsoft