DHTML Object Properties DHTML Objects
Sets or retrieves whether a check box has been accessed by the user.
HTML |
N/A |
Script |
checkbox.indeterminate [ = bDim ] |
false |
The check box is not dimmed |
true |
The check box is checked and dimmed. |
The property is read/write with a default value of false.
When indeterminate is set to true, the check box will appear checked, but dimmed, indicating an indeterminate state. The indeterminate property can be used to indicate that the control has not yet been acted upon by the user.
The value of indeterminate is independent of the values for the checked and the status properties. In addition, creating an indeterminate state is different than 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 is turned off and the checked state of the check box is toggled.
INPUT type=checkbox