DISABLED Attribute | disabled

HTML (DHTML)

DISABLED Attribute | disabled Property

Internet Development Index

Sets or retrieves a value that you can use to implement your own disabled functionality for the object.

Syntax

HTML<ELEMENT DISABLED ... >
Scriptingobject.disabled(v) [ = sDisabled ]

Possible Values

sDisabledBoolean that specifies or receives one of the following values.
falseDefault. The element is enabled.
trueThe element is disabled.

The property is read/write. The property has a default value of false.

Remarks

The disabled attribute can be set and retrieved. However, the functionality specified by the HTML 4.0 Non-Microsoft link standard is not implemented for this property.

There is no functionality implemented for this property unless defined by the author.

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

OPTION, OPTGROUP