More about events

Mouse events

mousedown, click, mouseup, mousemove, mousein, mouseout.
Can use clientX and clientY properties to find where the event happened.
button property tells you which button was pushed.
relatedTarget property tells you where you came from for mousein or where you're going for mouseout.

Keyboard events

keydown, keypress, keyup
During keypress, for character keys you can read the charCode property. For everything else you can read the keyCode property. This may or may not work well cross-browser; keyboard events are not standardized.