August 1999
Intermediate to advanced
1488 pages
72h 53m
English
radio.handleEvent(event)
The handleEvent() method of the Radio object invokes the event handler for the specific event.
Listing 7.437 shows how the handleEvent() method is used to capture all CLICK events and pass them to the but1 object event handler.
<html> <head> <title> Example of the radio handleEvent method</title> </head> <body> <script language="JavaScript"> <!-- Hide // sets up the document to capture CLICK events document.captureEvents(Event.CLICK); // function that handles the specific event. The evnt parameter refers to // the event object. function handleClick(evnt){ window.document.but1.handleEvent(evnt); ... |
Read now
Unlock full access