Radio defaultChecked Property
Radio object
Definition and Usage
The defaultChecked attribute returns the default value of the checked attribute.
If the default state of the radio button is selected, returns true, otherwise returns false.
Syntax
radioObject.defaultChecked
Browser support





All major browsers support the defaultChecked attribute
Example
Example
Check whether the "Blue" option is selected by default:
Try it »
Radio object