首页 > networkerror failed to execute 'send' on XMLHttpRequest

networkerror failed to execute 'send' on XMLHttpRequest

我在本地写的html页面,想在一个指定的div中动态引入另一个页面到该指定的div中,使用如下方法时报错。
$(document).ready(function(){
$(".buttonLeft").click(function(){

$(".root").load("page3.html #page",function(responseTxt,statusTxt,xhr){
  if(statusTxt=="success")
    alert("外部内容加载成功!");
  if(statusTxt=="error")
    alert("Error: "+xhr.status+": "+xhr.statusText);
});

});
});

度娘上都说要调试浏览器设置,我这个页面是要公布出来别人访问的话总不可能让用户去改浏览器设置的啊,请教应该怎么做呢? page3.html和当前页面是在同一个目录下!

默认下除了firefox运行成功了,ie,google,360均失败

【热门文章】
【热门文章】