解决办法:
if(self != top) { top.location.href = window.location.href; }
相关概念:self是当前窗口,top是最顶层窗口,parent是父窗口。
查看更多关于解决iframe无限嵌套问题。_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did114097
解决办法:
if(self != top) { top.location.href = window.location.href; }
相关概念:self是当前窗口,top是最顶层窗口,parent是父窗口。
查看更多关于解决iframe无限嵌套问题。_html/css_WEB-ITnose的详细内容...