Last active
November 13, 2018 15:31
-
-
Save ryanapil/01c2061c56ac090d20abdc81397ca373 to your computer and use it in GitHub Desktop.
jQuery AJAX Call Template
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
$.ajax({ | |
url: "", | |
method: "GET", | |
data: { | |
}, | |
success: function(data) { | |
console.log(data); | |
}, | |
error: function(jqXHR, textStatus, errorThrown) { | |
console.log(jqXHR); | |
console.log(textStatus); | |
console.log(errorThrown); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment