Skip to content

Instantly share code, notes, and snippets.

@MacDada
Created January 15, 2013 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MacDada/4541415 to your computer and use it in GitHub Desktop.
Save MacDada/4541415 to your computer and use it in GitHub Desktop.
$('#form').submit(function() {
/* This is a callback that some lib file is doing before the form is submitted.
* My goal is not to modify it */
});
$('#form').submit(function() {
/* This is my stuff and I can do whatever I want.
* Will it ALWAYS be called? */
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment