Password.handleEvent()

JavaScript 1.2+, JScript 1.0+ Nav4+, IE 3+, Opera3+ Syntax

							password.handleEvent(event)

Description

The handleEvent() method of the Password object is used to handle events of the type event passed.

Example

Listing 7.418 shows an example of how the handleEvent() method is used to handle the Click event when the button is clicked.

Listing 7.418 Example of the handleEvent() Method
 <html> <head> <title> Example of the password handleEvent property</title> </head> <body> <script language="JavaScript"> <!--Hide // sets up the document to capture CHANGE events document.captureEvents(Event.CHANGE); // function that handles the specific event. The evnt parameter refers to // the event object. function handleChange(evnt){ ...

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.