Skip to content

Commit

Permalink
Revert commit 3548f3a
Browse files Browse the repository at this point in the history
Revert 'Merge pull request #506 from amartin916/master'
Moving the beforeSubmit event above where the options are appended to
url
  • Loading branch information
Kevin Morris committed Feb 21, 2017
1 parent e1d5fdb commit 2d75614
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ beforeSerialize: function($form, options) {
````

###beforeSubmit
Callback function invoked prior to form submission. This provides an opportunity to manipulate the form before it's values are retrieved. Returning `false` from the callback will prevent the form from being submitted. The callback is invoked with three arguments: the form data in array format, the jQuery wrapped form object, and the options object.
Callback function invoked prior to form submission. Returning `false` from the callback will prevent the form from being submitted. The callback is invoked with three arguments: the form data in array format, the jQuery wrapped form object, and the options object.

````javascript
beforeSubmit: function(arr, $form, options) {
Expand Down
Loading

0 comments on commit 2d75614

Please sign in to comment.