August 1999
Intermediate to advanced
1488 pages
72h 53m
English
Event.KEYUP
The KEYUP property of the Event object is used by documents, images, links, and text area form elements to indicate when a pressed key is released by the user.
Listing 7.227 shows how to determine when a key has been released. The KEYUP event is captured. When this occurs, the handle() function is invoked, which informs the user that a key that had been pressed down has been released.
<html> <head> <title>Example of Event.KEYUP</title> </head> <body> <script language="JavaScript"> <!--Hide // sets up the window to capture KEYUP events window.captureEvents(Event.KEYUP); // function that handles the specific event. The ... |
Read now
Unlock full access