radio (JavaScript 1.0)

Graphical radio button in a group of radio buttons.

Properties & Events

KeyDescriptionAvailability
checkedWhether or not the radio button is currently checked.
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 7.0
defaultcheckedWhether or not the radio button is checked by default.
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 7.0
valueValue of the radio button that is sent when the form is submitted.
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 7.0
onclickEvent handler for when a user clicks on the radio button.
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 7.0

Result from the Online TryIt-Editor
chrome 1.0safari 1.0Firefox 1.0ie 3.0opera 4.0

Examples having uses of: 'radio'