首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > JavaScript >

iframe中嵌的页面中使用top.window.location跳转出错!why?解决思路

2012-02-16 
iframe中嵌的页面中使用top.window.location跳转出错!!!why?提示top.window为空或对象不存在,这是什么意思

iframe中嵌的页面中使用top.window.location跳转出错!!!why?
提示top.window为空或对象不存在,这是什么意思?

我以前一直这么用的啊。出错的这个页面不过就是javascript程序多了些。这个应该不会影响的吧?


[解决办法]
top.location.href= "1.xxx "
[解决办法]
window.opener.location.href= ' ';
window.parent.location.href= ' ';

试试

热点排行