title: Getting AJAX response body for use in error callback
body: <p>jQuery's AJAX error function has the following parameters:</p>
  
  <pre><code>error(XMLHttpRequest, textStatus, errorThrown)
  </code></pre>
  
  <p>What's the best cross-browser way to get the response body?</p>
  
  <p>Does this work (reliably in all browsers)?</p>
  
  <pre><code>$.ajax({
    error: function(http) {
      alert(http.responseText);
    }
  });
  </code></pre>