click twice on the one click using javascript code example Example: double click on element using javascript document.getElementById("something").dblclick();