.dblclick() Event

Syntax

.dblclick()

Description

.dbclick() event is used to trigger or bind a function to the double click event of the selected element. This method is used to run a specified function when the dbclick event occurs for the selected elements. The below example shows you how to hide an element using .dbclick() event in Jquery.

Example Code

Result:


Double click on the words for the .dblclick() event to trigger

Hello

World



Ask Questions

Ask Question