on double click javascdript code example
Example: javascript on double click
document.getElementById("myBtn").addEventListener("dblclick", function() {
alert("Hello World!");
});
document.getElementById("myBtn").addEventListener("dblclick", function() {
alert("Hello World!");
});