Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var jxhr = $.ajax('/foo.php', {type:'get', dataType:'json'});
- xhr.success(function(response){
- // do something with the resposne
- });
- xhr.error(function(jxhr){
- // do something with jxhr
- });
- console.log('whats up?');
Add Comment
Please, Sign In to add comment