摘要: 其中要点, Stpe1,浏览器在Iframe中加载一个异域的页面,这个页面返回 ,这时候,取 iframe.contentwindow.name是拒绝访问的。 Step2,在Iframe中加载一个本域中的任意页面,此时,iframe.contentwindow.name 就可以访问了, DEMO: 下面是不修饰的代码, 1: 阅读全文
posted @ 2013-07-16 14:18 张保维 阅读(316) 评论(0) 推荐(0) 编辑