Created
October 9, 2013 17:49
-
-
Save cdl/6905299 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
$("form#newsletter").submit(function() { | |
// some custom validation | |
// function 1 | |
}); | |
$("form#newsletter").shush(); | |
// (inside of .shush()) | |
$(this).submit(function() { | |
// logic to disable form submit | |
// function 2 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment