.submit()


.submit( handler )Returns: jQueryversion deprecated: 3.3

Description: Bind an event handler to the "submit" event, or trigger that event on an element.

This API is deprecated.

Instead of .submit( handler ) or .submit( eventData, handler ), use .on( "submit", handler ) or .on( "submit", eventData, handler ), respectively.

Instead of .submit(), use .trigger( "submit" ).