jQuery and AJAX response header

前端 未结 8 2493
夕颜
夕颜 2020-11-22 10:45

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

8条回答
  •  执念已碎
    2020-11-22 11:22

     var geturl;
      geturl = $.ajax({
        type: "GET",
        url: 'http://....',
        success: function () {
          alert("done!"+ geturl.getAllResponseHeaders());
        }
      });
    

提交回复
热议问题