title: error handling with .post()
body: <p>I have to modify a project written by someone else. Because the code is a mess I can't really change this $.post() (or replace it by $.ajax()). What I need to do, is to know if the post returns something else then JSON and return it.</p>
  
  <pre><code>$.post('balbal.html', json, function(data) { ... my coude ... }, 'json')
  </code></pre>
  
  <p>I can see the post response in the console.log. Is there a simple way to retrieve it?</p>