jQuery dblclick() Event - CodingTag

jQuery dblclick()

0 1054

  • When a user double clicks on an HTML element, the dblclick() function is executed which attaches an event handler method to that particular HTML element.

Related Topics:

jQuery Events
jQuery click()

jQuery dblClick


//actions go here


selector represents a jquery selector that is used to select the HTML element on which the events occur.


<title> jQuery Example </title>
<script type = "text/javascript" 


<h2> jQuery Double Click Event Example </h2>

<p> Double click on me to hide me. </p>
<p> Double click on me to hide me. </p>
<button class="bt"> Double Click me to change the color of background </button>



Double Click on paragraphs to hide them and also double click on the button to change the background color.

Best WordPress Hosting


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price

Leave a Reply

    Waiting for your comments