Applications Windows
Réduire la table des matières
Développer la table des matières
EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

indeterminate property

Sets or retrieves whether the user has changed the status of a input type=checkbox element. On a HTMLProgressElement element will show activity but not a specific amount.

Syntax

JavaScript

p = object.indeterminate

 

Property values

Type: Boolean

false (false)

Default. Check box is not dimmed.

true (true)

Check box is checked and dimmed.

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.

See also

input type=checkbox

 

 

Afficher:
© 2016 Microsoft