【发布时间】:2011-08-09 14:26:55
【问题描述】:
我想从 iframe 重定向页面,特别是我想从 iframe 重定向首页。
所以我使用:
top.window.location = 'http://xxx'
它在 mozzila 或 chrome 中工作正常,但在 ie 中我得到:权限被拒绝错误。我发现了一些信息,这是跨域脚本问题:
我不知道怎么做 - 将父窗口从 iframe 重定向到某个 url,它位于不同的 url(显然)
感谢您的帮助...
【问题讨论】:
标签: javascript internet-explorer