August 1999
Intermediate to advanced
1488 pages
72h 53m
English
onKeyPress="command"
The onKeyPress event defines a handler when a key is pressed in the image.
Listing 7.312 defines an event handler for the onKeyPress event within an image.
<img name="circle"
src="circle.gif"
onKeyPress="alert('An ONKEYPRESS event occurred!')">
|
Read now
Unlock full access