So I\'ve got this jQuery AJAX call, and the response comes from the server in the form of a 302 redirect. I\'d like to take this redirect and load it in an iframe, but when
try this:
type: "GET", async: false, complete: function (XMLHttpRequest, textStatus) { var headers = XMLHttpRequest.getAllResponseHeaders(); }
var geturl; geturl = $.ajax({ type: "GET", url: 'http://....', success: function () { alert("done!"+ geturl.getAllResponseHeaders()); } });