how to block click one more time if it is dblclicked before
hi
how to block click one more time if it is dblclicked before.
below code's output is 1 but if you click fastly, you will see alert "1" twice. I want one time!
var divclick=0;
$('div').on("dblclick",function(){
divclick++;
alert(divclick);
});
many thanks