• Home
  • Chapters
    • Getting Acquainted
    • Start Me Up
    • Working with Images
    • Windows and Frames
    • Form Handling
    • Forms and Regular Expressions
    • Handling Events
    • JavaScript and Cookies
    • Objects and the DOM
  • Resources
    • W3 Schools
    • Google Fonts
    • Awesome Patterns
  • Examples
    • Example 1
    • Example 2
    • Example 3
    • Example 4
    • Example 5
    • Example 6
    • Example 7
    • Example 8
    • Example 9
    • Example 10
  • Contact

Mouse Click Events

The most recent event caught was: (none caught yet)

Event Example
onclick
oncontextmenu
ondblclick
onmousedown
onmouseup


Explanation for Event:

Click: onclick - The click of a mouse button.

Contextual Menu: oncontextmenu - The right click button to bring up the contextual menu.

Double Click: ondblclick - A simple double click of the mouse button.

Mouse Down: onmousedown - When the mouse button is down (same as Click).

Mouse Up: onmouseup - When the mouse button is up (same as Click).


⇐Back To "Getting Acquainted"