Answers for "double tap js"

0

double click in js

document.getElementById("myBtn").addEventListener("dblclick", function() {
  alert("Hello World!");
});
document.getElementById("myBtn").dblclick();
Posted by: Guest on August-15-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language