Event
The event
object describes an event that just happened: a mouse click, a cursor movement, and so on. See Chapter 13 for more details.
Properties
| FF, IE 4 |
|
| FF, IE 4 | If the event involves a click, this says what kind. A 2 means the right button was clicked. Some other number probably means the left button. See Chapter 13 for more information. |
| IE 4 | x coordinate of an event in a window |
| IE 4 | y coordinate of an event in a window |
| FF, IE 4 |
|
| FF, IE 4 | ASCII value of the key that was pressed |
| FF | x coordinate of an event in a window |
| FF | y coordinate of an event in a window |
| FF, IE 4 | x coordinate of an event on the screen |
| FF, IE 4 | y coordinate of ... |
Get The Book of JavaScript, 2nd Edition 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.