Created
March 27, 2014 20:35
-
-
Save DarrylErentzen/9818026 to your computer and use it in GitHub Desktop.
disable submit button on click
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
jQuery('input:submit').click(function(){ | |
jQuery('input:submit').val("Form submiting....."); | |
jQuery('input:submit').attr("disabled", true); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment