IE弹出窗口上的“后退"按钮不起作用

问题描述:

嗨!我创建了一个带有后退按钮"的页面,该页面作为弹出窗口打开.后退按钮不适用于IE,但id在FireFox Mozilla中有效.
我已经尝试使用window.history.go和window.history.back,但是它们都不起作用.

情况就是这样.

我在一个页面上有一个赞,当我单击该链接时,它会打开一个带有另一个链接的弹出窗口.当我单击后退"按钮时,它不会带我到上一页.

(普通窗口)Page1->(PopupWindow)Page2-> Page3(带有后退按钮).现在,当我单击Page3上的后退按钮时,并没有带我进入Page2.

我检查过window.history.length它为零.

有任何建议吗?

Hi! I created a page that has a "Back Button", it opens up as a pop up window. The Back Button doesn''t work IE but id does in FireFox Mozilla.
I have tried with window.history.go and window.history.back but non of them is working.

the scenario is like this.

i have a like on a page that opens up a popup window with another link when i click on that link another page opens in the same popup window with a back button. when i m clicking on back button it doesn''t take me to the previous page.

(Normal Window)Page1->(PopupWindow)Page2->Page3(with Back Button). Now when i m clicking on the back button present on Page3 it doesn''t take me to the Page2.

I have checked the window.history.length it comes zero.

Any Suggestion please ?

如果history.back或history.go(-1)在您的窗口中不起作用,则意味着您没有将历史记录条目放置到浏览器中.

通常,如果使用location.replace进行回发或始终在新窗口中打开回发,则不会在浏览器中输入历史记录条目.

请检查您的申请.代码中一定有什么地方出错.从这里很难说出来.

:sigh:
If history.back or history.go(-1) doesnt work for your window, that means you didnt placed the history entry to the browser.

Generally history entry is not entered in the browser if postback is used using location.replace or opened in a new window all the time.

Please check your application. There must be somewhere getting wrong in the code. It is hard to tell this from here.

:sigh: