trigger() function is used to trigger an event of the specified type on each matching element.
In addition, you can also pass in additional parameters to the event handling function when the event is triggered.
Using this function can manually trigger the execution of the event processing function bound to the element, and will also trigger the execution of the default behavior of the element.
Taking the form element