indeterminate property (input:checkbox)
Specifies or returns a Boolean value that indicates whether the state of a checkbox has changed.
Note: The indeterminate property is supported in Firefox from version 3.6.When the indeterminate state is used for a checkbox, it behaves as a three-state control. A checkbox cannot be changed to indeterminate state through the user interface, this state can only be set from scripts. This state can be used to force the user to check or uncheck a checkbox. See the example below for details.
You can find the related objects in the Supported by objects section below.
This property is read/write.
Boolean that indicates the checkbox state.
One of the following values:
|The checked and status properties can be used to get the current state of the checkbox.|
|The checkBox is in indeterminate state.|
Example HTML code 1:
This example illustrates the use of the indeterminate property:
Did you find this example helpful?
User Contributed Comments