Skip to content

Instantly share code, notes, and snippets.

@ReactiveRaven
Created July 12, 2012 22:01
Show Gist options
  • Save ReactiveRaven/3101374 to your computer and use it in GitHub Desktop.
Save ReactiveRaven/3101374 to your computer and use it in GitHub Desktop.
$(/*...*/).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