I want to make an autoDoubleClick function by only javascript.Example:
var btn = document.getElementById("btn");
btn.addEventListener("double",function(e){
alert("Some thing");
});
when we call function
autoDoubleClick(btn)
so it will auto double click. Can you give me some ideal ??? (only javascript no jquery)