[Chapter 21] Reference: Radio.onclick()
Author: David Flanagan
Date: Fri Aug 29 11:19:20 1997

#

| Chapter 21 JavaScript Reference |

# Radio.onclick() Handler

## Name

Radio.onclick() Handler---invoked when a Radio button is selected

## Availability

Navigator 2.0, Internet Explorer 3.0

## Synopsis

    <INPUT TYPE="radio"  a definition of the handler
           onClick="handler-statements">
    radio.onclick a reference to the handler
    radio.onclick();  an explicit invocation of the handler

## Description

`onclick()` is an event handler invoked when the user clicks on a Radio button. This event handler is defined by the `onClick` attribute of the HTML `<INPUT>` tag that defines the Radio button. The value of this attribute may be any number of JavaScript statements, separated by semicolons; these statements will be executed when the user clicks on (i.e., checks or unchecks) the button.

## See Also

"Radio"

Radio.onblur() |  | Radio.onfocus()