Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

Untitled

a guest Jul 20th, 2018 60 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  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?');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top