Home  >  jQuery

Example of .dblclick() in jQuery

April 29, 2013
.dblclick() binds an event with double click equivalent to java script. .dblclick() is a jQuery function that can be used with any DOM element. Synatx is
Find the example.

<!DOCTYPE html>
div { background:yellow; cursor:pointer }
div.dbclk { background:blue; }
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<div>Double Click me to test dblclick() </div>
$("div").dblclick(function () {


©2022 concretepage.com | Privacy Policy | Contact Us