RadioButton.defaultChecked (Property)

The default checked state for a radio button in a form.

Availability:

DOM level - 1
JavaScript - 1.0
JScript - 1.0
Internet Explorer - 3.02
Netscape - 2.0
Opera - 3.0
Property/method value type:Boolean primitive
JavaScript syntax:-myRadioButton.defaultChecked
HTML syntax:<INPUT CHECKED>

The defaultChecked state of an Input item is the value that was defined in the HTML document source when the page was loaded. You can use this value if you need to reset the status of a page or determine whether the user changed the settings on an input item since the page was loaded.