Image.onKeyUp
JavaScript 1.2+, JScript 3.0+ Nav4+, IE 4+ Syntax
onKeyUp="command"
Description
The onKeyUp event defines a handler when a key is pressed and then released in the image.
Example
Listing 7.313 defines an event handler for the onKeyUp event within an image.
Listing 7.313 Example of the onKeyUp Event
<img name="circle" src="circle.gif" onKeyUp="alert('An ONKEYUP event occurred!')"> |
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.