我需要在父站点刷新/刷新我的浏览器,当我单击测试时。我有来源的index.php:iframe中的parent.location.reload无法正常工作IE
<iframe id="test" src="/careertest/q.php"></iframe>
和q.php:
<a href="#" onclick="parent.location.reload(true);">testing</a>
它在FF最新版本的Chrome +工作,但在IE无法正常工作9
他说:“script70 :没有权限。”
我已经改变
parent.location.reload(true)
有:
window.parent.location =window.parent.location.href;
或
document.domain=document.location.href;
,但仍然没有工作...
测试,对我工作的罚款。你能提供一个测试页面吗? –
也适用于我。也许你有错误的安全设置? – neworld
嗨感谢您的快速回放http://kimpuler.com/error.jpg这...我在IE9中使用开发人员工具(f12),无法刷新...我认为你尝试在本地主机和快速查看,所以不知道它刷新页面或不...尝试插入大图片...如此加载长 –