To trigger the click event on all of the paragraphs on the page: : click « jQuery « JavaScript DHTML






To trigger the click event on all of the paragraphs on the page:

  


$("p").click();

   
    
  

Related examples in the same category

1.Find all children of the clicked element.
2.Stop click event
3.Add click listener to links in unordered list