Difference between .ajaxSubmit() vs .submit()

There’s no such function as .ajaxSubmit in jQuery. It’s a function used by the jquery form plugin. The difference is that .ajaxSubmit uses AJAX to submit the form whereas .submit, which is part of jQuery, triggers the submit event of the form and eventually submits it synchronously (unless you have subscribed to the submit event of the form and perform some other actions).

Leave a Comment