This method is a shortcut for .bind('dblclick', handler) in the first variation, and .trigger('dblclick') in the second.
The dblclick event is sent to an element when the element is double-clicked. Any HTML element can receive this event.
For example, consider the HTML:

After this code executes, (single) clicks on Trigger the handler will also alert the message.

The dblclick event is only triggered after this exact series of events:

The mouse button is depressed while the pointer is inside the element.

The mouse button is released while the pointer is inside the element.

The mouse button is depressed again while the pointer is inside the element, within a time window that is system-dependent.

The mouse button is released while the pointer is inside the element.

It is inadvisable to bind handlers to both the click and dblclick events for the same element. The sequence of events triggered varies from browser to browser, with some receiving two click events and others only one. If an interface that reacts differently to single- and double-clicks cannot be avoided, then the dblclick event should be simulated within the click handler. We can achieve this by saving a timestamp in the handler, and then comparing the current time to the saved timestamp on subsequent clicks. If the difference is small enough, we can treat the click as a double-click.

Examples:

Example: To bind a "Hello World!" alert box the dblclick event on every paragraph on the page: