IE window.history.back()中的问题 [英] Problem in IE window.history.back()

查看:122
本文介绍了IE window.history.back()中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好
我在IE中的window.history.back()中引起问题
我在页面内使用iframe.
因此,当window.history.back()从iframe而不是从页面触发时..

那么在这种情况下该怎么办?
谢谢
Adit

Hello
I cause a problem in window.history.back() in IE
i use iframe inside page.
So when window.history.back() fire it back from iframe not from page..

So what to do in this case?
Thanks
Adit

推荐答案



据我所知这是不可能的

B''coz历史是关于整个窗口的事情,而不是页面的一部分.

您必须遵循其他一些返回方式,例如从服务器重定向到返回

或在文件后面的代码中更改iframe src属性


我希望你能理解我说的话


最好的
Hi,

upto my knowledge it is not possible

B''coz history is about whole window thing not for part of page.

you''ve to follow some other way to back like redirecting to back from server

or changing iframe src property in code behind file


I hopw you understood What I said


All the Best


这篇关于IE window.history.back()中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆