您现在的位置是:首页 > 电脑技术查询 > web开发

Iframe操作父页面跨域跳转,IE提示无权限,该如何处理

编辑:chaxungu时间:2022-10-02 23:16:18分类:web开发

Iframe操作父页面跨域跳转,IE提示无权限
如题,ajax返回成功后parent.window.location.href = data.Message(跳转的Url);
火狐下正常,IE提示无权限,在线等解答。

------解决方案--------------------
探讨
如题,ajax返回成功后parent.window.location.href = data.Message(跳转的Url);
火狐下正常,IE提示无权限,在线等解答。

------解决方案--------------------
parent.window.open(data.Message, "_top"); 试试
------解决方案--------------------
探讨

引用:
引用:
如题,ajax返回成功后parent.window.location.href = data.Message(跳转的Url);
火狐下正常,IE提示无权限,在线等解答。你是不是跨域了?是的,跨域了。