Windows apps
Collapse the table of content
Expand the table of content

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:
© 2016 Microsoft