The trigger() method executes one or more jquery methods automatically, without the need for the user to be linked to the web.
Example: There are two buttons that when clicked on each one of them shows a different result inside a div element. Clicking on button 1 will show a paragraph with a text inside it, clicking on button 2 will show another text plus the paragraph shown by button 1, executed automatically with the trigger() method.
Interesting Articles