I am working on a Cordova app using jquery. I want to hide a div when it is double clicked. I get an alert using the single click code below
$(document).on('click', '#dynamicDiv', function() {
alert("click");
});
But I do not get a response with the double click code
$(document).on('dblclick', '#dynamicDiv', function() {
alert("double click");
});
Any ideas why this could be?