EN
Ce contenu n’est pas disponible dans votre langue. Voici la version anglaise.

defaultChecked property

Sets or retrieves the state of the check box or radio button.

Syntax

JavaScript

p = object.defaultChecked

Property values

Type: Boolean

true (true)

Default. Check box or radio button is selected by default.

false (false)

Check box or radio button is not selected by default.

Standards information

Remarks

The property can be changed programmatically, but doing so has no effect on the appearance of the check box or radio button or on how forms are submitted.

See also

input type=checkbox
input type=radio
checked

 

 

Afficher:
© 2014 Microsoft