Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

defaultChecked property

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



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


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



© 2015 Microsoft