Methods and Properties of the Radio Object : RadioButton Radio « Form Control « JavaScript DHTML
- JavaScript DHTML
- Form Control
- RadioButton Radio
Methods and Properties of the Radio Object
Method
blur() Removes focus from the Radio object.
click() Simulates a mouse click on the button.
focus() Sets the focus to a button.
handleEvent() Invokes the default handler for the specified event.
Property
checked Specifies whether a button is checked or unchecked.
defaultChecked Refers to the checked attribute of the HTML 'input' tag.
form Refers to the Form object that contains the Radio object.
name Refers to the name attribute of the HTML 'input' tag.
type Refers to the type attribute of the HTML 'input' tag.
value Refers to the value attribute of the HTML 'input' tag.
Related examples in the same category