[請益] jquery的ajax 如何連向絕對網址
請益各位先進:
$(document).ready(function() {
$.ajax({
type: "POST",
url: "https://www.esafe.com.tw/ASP3/etopm.asp",
success: function(msg){
alert( "Data Saved: " + msg );
}
});
});
會出現
Access to restricted URI denied" code: "1012
[Break on this error] xhr.open(type, s.url, s.async);
把網址改成本機的檔案的時候,就OK
是我哪一個步驟錯了嗎??
--
Best Regards,
Arrack Tseng
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 61.64.102.253
→
09/16 05:57, , 1F
09/16 05:57, 1F
→
09/16 06:25, , 2F
09/16 06:25, 2F
→
09/16 07:13, , 3F
09/16 07:13, 3F
推
09/16 09:09, , 4F
09/16 09:09, 4F
→
09/16 09:09, , 5F
09/16 09:09, 5F
→
09/16 16:20, , 6F
09/16 16:20, 6F
→
09/16 16:21, , 7F
09/16 16:21, 7F