This is a simple object that can make form be submitted via AJAX using jQuery.
It adds an event handler to all form elements on a page to handle the submit event so the form values are submitted using AJAX requests.
The forms can define additional attributes to specify the code to be executed when the before the form is submitted, after is submitted and the response is retrieved.
Other attributes are retrieved from the form element to use during the AJAX request like the action URL and encoding type. |