Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

double click in js

document.getElementById("myBtn").addEventListener("dblclick", function() {
  alert("Hello World!");
});
document.getElementById("myBtn").dblclick(); 
 
PREVIOUS NEXT
Tagged: #double #click #js
ADD COMMENT
Topic
Name
8+3 =