RadioButton.checked (Property)

The state of the button is returned by this property.

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.checked
HTML syntax:<INPUT CHECKED>

If the radio button has a mark in it (it is the only one of the family it belongs to that is selected), then this value will return true. Otherwise it will return false.