jquery - How can i unbind double click event on a div on which click is already bind? -
$('#id').bind("dblclick", function (event) { event.preventdefault(); }); $('#id').unbind("click"); $('#id').bind("click", function () { #mycode }); here both double , single click called.how can make call single event @ time?
Comments
Post a Comment