是否可以從外部網(wǎng)站加載單個頁面?我正在嘗試顯示一個頁面,但似乎無法正常工作$("#response").load("http://domain.com", function(response, status, xhr) { if (status == "error") { var msg = "Sorry but there was an error: "; alert(msg + xhr.status + " " + xhr.statusText); } });幫助將不勝感激
- 3 回答
- 0 關(guān)注
- 649 瀏覽
添加回答
舉報
0/150
提交
取消