Keyboard & Mouse Events FAQ
What event properties can I use to analyze mouse events?
How do I check whether the user clicked the left or right mouse button?
Can I disable the context menu that shows up when the user clicks the right mouse button?
Can I disable the right-click context menu for a particular image only?
How do I detect mouse events with Ctrl, Alt, and Shift keys?
Can I disable the default browser response for Shift-click?
How do I determine where exactly the user clicked the mouse?
The following questions are applicable to mouse events as well as keyboard events:
How do I add an event handler to an HTML page element?
How do I remove an event handler from a page element?
How do I cancel event bubbling?
How do I determine the event's target element?