Guest User

Untitled

a guest
Jul 20th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. var jxhr = $.ajax('/foo.php', {type:'get', dataType:'json'});
  2.  
  3. xhr.success(function(response){
  4. // do something with the resposne
  5. });
  6. xhr.error(function(jxhr){
  7. // do something with jxhr
  8. });
  9.  
  10. console.log('whats up?');
Add Comment
Please, Sign In to add comment