level 3
俄不擦肩而过
楼主
在用以下方法加载页面时会出现错误,求解决方法,谢谢!
$(document).ready(function(){
$(".bottom").click(function(){
$(".middle").load("页面1.html");
})
$(".top").click(function(){
$(".middle").load("页面2.html");
})
})
补充:
发现浏览器警告:Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
觉得是我所引用的页面也是用jq来控制,所以产生冲突了,不知道是不是,求指教
2015年12月21日 03点12分
1
$(document).ready(function(){
$(".bottom").click(function(){
$(".middle").load("页面1.html");
})
$(".top").click(function(){
$(".middle").load("页面2.html");
})
})
补充:
发现浏览器警告:Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
觉得是我所引用的页面也是用jq来控制,所以产生冲突了,不知道是不是,求指教