ajax jsonp request 503 response
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4778363/display-jquery-ajax-503-error-response">Display jQuery $.ajax 503 error response</a>  </p>
</blockquote>



<p>I am making a call to an api which is a bit temoermental. Alot of the time it is responding with a 503. My problem is that when this happens it none of the functions (complete, error, success) are triggered. I am looking for a way to log this in my code. Any ideas greatly appreciated</p>

<pre><code>    $.ajax ({
      url      : engine.getQuery(), 
      dataType : 'jsonp',
      success  : entErrorFunction,
      complete : entErrorFunction,
      error    : entErrorFunction
    });

    var entErrorFunction = function(){
      console.log('test2');
    };
</code></pre>
