$("#content").load("fileoutside.html", function(response, status, my) { // error handling if(status == "error") { $("#content").html("An error occured: " + my.status + " " + my.statusText); } });
原创文章,作者:ItWorker,如若转载,请注明出处:https://blog.ytso.com/tech/pnotes/8657.html