This example demonstrates the submit event. Click the different buttons below. Only the Submit button will trigger the submit event.