Last active
February 14, 2019 19:59
-
-
Save imelgrat/abf6eb4cc7357a64d14fefe837cb566a to your computer and use it in GitHub Desktop.
jQuery AJAX call example
This file contains hidden or 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, { | |
success: function(data) { | |
// Do something with the returned data | |
}, | |
error: function() { | |
//Handle error here | |
} | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment