$(document).ready(function(){Above jQuery code will disable double click event for all the controls on the webpage. If you want to disable for specific control, let's say a button with ID "btnSubmit" then,
$("*").dblclick(function(e){
e.preventDefault();
});
});
$(document).ready(function(){Feel free to contact me for any help related to jQuery, I will gladly help you.
$('#btnSubmit').dblclick(function(e){
e.preventDefault();
});
});
No comments:
Post a Comment