Name

disabled — NN n/a IE 4 DOM 1

Synopsis

Read/Write

Whether the element is available for user interaction. When set to true, the element cannot receive focus.

Example

document.forms[0].myReset.disabled = true

Value

Boolean value: true | false.

Default

false

Get Dynamic HTML: The Definitive Reference now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.