javascript on double click
snippet in javascript

javascript on double click

user248

document.getElementById("myBtn").addEventListener("dblclick", function() {
  alert("Hello World!");
});