Created
July 12, 2012 22:01
-
-
Save ReactiveRaven/3101374 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(/*...*/).jqBootstrapValidation( | |
{ | |
submitSuccess: function ($form, event) { | |
$form.ajaxSubmit({ /* your jquery.form options here */ }); | |
event.preventDefault(); // stops the browser from submitting the form and loading a new page | |
} | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment