August 1999
Intermediate to advanced
1488 pages
72h 53m
English
form.handleEvent(event)
The handleEvent() method of the Form property invokes the handler for the specified event. It takes one parameter, which is the event to be handled.
In Listing 7.259, the handleEvent() method is being used to handle the event being passed. The script captures the CLICK event. When this occurs, the handleMyClick() function calls the handleEvent() method to handle the CLICK event.
<html> <head> <title> Using the handleEvent method of the Form object</title> </head> <body> <script language = "JavaScript"> <!--Hide // sets up the document to capture CLICK events document.captureEvents(Event.CLICK); ... |
Read now
Unlock full access