JavaScript po podwójnym kliknięciu
document.getElementById("myBtn").addEventListener("dblclick", function() {
alert("Hello World!");
});
Batman
document.getElementById("myBtn").addEventListener("dblclick", function() {
alert("Hello World!");
});
document.getElementById("myBtn").addEventListener("dblclick", function() {
alert("Hello World!");
});
document.getElementById("myBtn").dblclick();
document.getElementById("something").dblclick();