Event handler for |
document , Image , Link , Textarea
|
Implemented in | Navigator 4.0 |
Syntax
onKeyPress="handlerText"
Parameters
| JavaScript code or a call to a JavaScript function. |
Description
A KeyPress
event occurs immediately after a KeyDown
event only if onKeyDown
returns something other than false. A KeyPress
event repeatedly occurs until the user releases the key. You can cancel individual KeyPress
events.
See also
onKeyDown
, onKeyUp
For general information on event handlers, see "General Information about Events".
For information about the event
object, see event
.
Last Updated: 10/31/97 16:34:02