Events - click, mousedown, mouseup, and dblclick

Registration
Events

The following events are registered:

Elements

The events are registered on the following elements:

Miscellaneous

Event properties



These properties belong to the last event that fired.

This page tests the click, mousedown, mouseup, and dblclick events.

I advise you to switch off the events on the window and document.

Test elements

This link is a test element.

This paragraph is a test element. This paragraph is a test element. This paragraph is a test element. This paragraph is a test element. This paragraph is a test element. This paragraph is a test element.

This is a paragraph nested in a div. All events are registered on the div, and not on this paragraph.