jQuery dblclick() method

jQuery dblclick() method

Definition

Use the jQuery dblclick() method in jQuery to trigger an event on double click of an element. For example, click twice on a text to generate event.

Syntax

The following is the syntax,

The following is the parameter used in the jQuery dblclick() method,

  • func: When event occur, this function runs. It is an optional parameter.

Example

The following is the output,

Click the heading twice to fire dblclick event,

jQuery click() method
jQuery focus() method
Studyopedia Editorial Staff
Studyopedia Editorial Staff
[email protected]

We work to create free tutorials for all.

No Comments

Post A Comment