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

Untitled

a guest Nov 21st, 2018 78 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. Here's an example of how you get JSON data on error:
  2.  
  3. $.ajax({
  4.     url: '/path/to/script.php',
  5.     data: {'my':'data'},
  6.     type: 'POST'
  7. }).fail(function($xhr) {
  8.     var data = $xhr.responseJSON;
  9.     console.log(data);
  10. });
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