August 1999
Intermediate to advanced
1488 pages
72h 53m
English
reset.handleEvent(event)
The handleEvent() method of the Reset object invokes the event handler for the object.
Listing 7.449 shows an example of how the handleEvent() method is used.
<html> <head> <title> Example of the reset 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 handleMyClick(evnt){ window.document.resetbutton.handleEvent(evnt); } function showMsg(){ alert("Form ... |
Read now
Unlock full access