Reset.handleEvent()

JavaScript 1.0+, JScript 1.0+ Nav2+, IE 3+, Opera3+ Syntax

							reset.handleEvent(event)

Description

The handleEvent() method of the Reset object invokes the event handler for the object.

Example

Listing 7.449 shows an example of how the handleEvent() method is used.

Listing 7.449 Example of the handleEvent() Method
 <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 ...

Get Pure JavaScript now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.