加载外部内容的jQuery代码 2015/01/23 15361 $("#content").load("fileoutside.html", function(response, status, my) { // error handling if(status == "error") { $("#content").html("An error occured: " + my.status + " " + my.statusText); } });