码迷,mamicode.com
首页 > 其他好文 > 详细

get Status canceled 请求被取消

时间:2014-09-10 13:56:30      阅读:210      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   io   ar   for   2014   div   

1.chrome浏览器下状况:

bubuko.com,布布扣

 

2.环境:

一个页面A下 包含一个 iframe ,在子页面中用js点击A页面下的链接替换iframe内容脚本如下:

window.parent.document.getElementById(id).click();

3.描述点击发生但在chrome下发生如图的问题,页面并没有加载进来,被取消了。IE 火狐则正常。

   所以我自己判断了下chrome浏览器加段js

window.location.href = "B.aspx";

网上找到一个详细的帖子:

http://stackoverflow.com/questions/12009423/what-does-status-canceled-for-a-resource-mean-in-chrome-developer-tools

get Status canceled 请求被取消

标签:style   blog   http   color   io   ar   for   2014   div   

原文地址:http://www.cnblogs.com/dayou123123/p/3964209.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!