indeterminate

HTML (DHTML)

indeterminate Property

Internet Development Index

Sets or retrieves whether the user has changed the status of a check box.

Syntax

HTMLN/A
ScriptingINPUT type=checkbox.indeterminate [ = bDim ]

Possible Values

bDimBoolean that specifies or receives one of the following values.
falseDefault. Check box is not dimmed.
trueCheck box is checked and dimmed.

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

Expressions can be used in place of the preceding value(s), as of Microsoft® Internet Explorer 5. For more information, see About Dynamic Properties.

Remarks

The indeterminate property can be used to indicate whether the user has acted on a control. For example, setting the indeterminate to true causes the check box to appear checked and dimmed, indicating an indeterminate state.

The value of the indeterminate property acts independently of the values of the checked and status properties. Creating an indeterminate state is different from disabling the control. Consequently, a check box in the indeterminate state can still receive the focus. When the user clicks an indeterminate control, the indeterminate state turns off and the checked state of the check box toggles.

Standards Information

There is no public standard that applies to this property.

Applies To

INPUT type=checkbox