jQuery dblclick()
trigger double click event
<!DOCTYPE html> <html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"> </script>// w ww . j a v a 2s .c om <script> $(document).ready(function(){ $("button").click(function(){ $("p").dblclick(); }); }); </script> </head> <body> <button>Trigger dblclick event for p element</button> <p ondblclick="document.write('dblclick event triggered')"> This is a paragraph.</p> </body> </html>