Created
November 11, 2016 13:50
-
-
Save adirkuhn/29e868028d0ed67c43356717581e84fc 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
var jqxhr = $.post( "example.php", function() { | |
alert( "success" ); | |
}) | |
.done(function() { | |
alert( "second success" ); | |
}) | |
.fail(function() { | |
alert( "error" ); | |
}) | |
.always(function() { | |
alert( "finished" ); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment