jQuery Intro

jQuery Intro Quiz

jQuery Intro Exercise

jQuery Basic

jQuery Basic Quiz

jQuery Basic Exercise

jQuery Advance

jQuery Advance Quiz

jQuery Advance Exercise

jQuery Selectors

jQuery Effects

jQuery Events

jQuery Methods and Properties

jQuery Traversing

jQuery CSS and HTML Methods

jQuery trigger() Method

jQuery trigger() Method



The trigger() method is used to trigger the specified event and the default behavior of an event for the selected elements. It is similar to the triggerHandler() method. However, triggerHandler() does not trigger the default behavior of the event.




Its syntax is:- $(selector).trigger(event, eventObj, param1,...)


Further Explanation:-


Parameter Description
event Required. Specifies the event to trigger for the specified element.
param1,... Optional. Additional parameters to pass on to the event handler.

Code Explanation

All Tutorials related to jQuery Events

All Sections related to jQuery