title: jQuery AJAX Request 302 Redirect - What callbacks are available?
body: <p>I'm working with an older system that is using jQuery 1.2.6. I am sending an AJAX Request via the <code>jQuery.ajax</code> function. The URL that it is hitting is sending a 302 HTTP Redirect response and eventually ends up with a 200 HTTP OK response. I have registered both a <code>success</code> and a <code>complete</code> callback, however neither of them are called.</p>
  
  <p>My question is: Are there any callbacks that can/will be called after a redirect occurs?</p>
  
  <pre><code>jQuery.ajax({
      type: "GET",
      url: url,
      data: null,
      dataType: "json",
      async: false,
      success: function(data, textStatus) {
          alert("SUCCESS CALLED: " + textStatus);
      },      
      complete: function(xhr, status) {
          alert("COMPLETE CALLED");
      }
  });
  </code></pre>
  
  <p><strong>NOTE:</strong> The response is HTML, not JSON, however changing the <code>dataType</code> to <code>html</code> alters the request. It sends an <code>OPTIONS</code> request instead of a <code>GET</code> request, and it also no longer redirects. I need these redirects to occur.</p>