Windows Dev Center

EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

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

 

 

Anzeigen:
© 2015 Microsoft