When you click the Back button, the form in "iframe1" is re-submitted, look at the stages the browser passes through1. A.html contains an empty iframe, click TestButton in A.html
2. A.html now contains an iframe with B.html, but you are submitting a form inside B.html to the "_parent"
3. C.htmlso if you click Back button at stage 3, it will go back to stage 2 and it will get right back to 3
2. A.html now contains an iframe with B.html, but you are submitting a form inside B.html to the "_parent"
3. C.htmlso if you click Back button at stage 3, it will go back to stage 2 and it will get right back to 3
解决方案 »
- 关于Ext.window 和 iframe中的页面刷新的问题???
- ext高手请帮忙 我想做一个根据combobox的值生成下一个组件 比如选择按姓名查询 则生成文本框 选择按性别查询则生成选项为男和女的下拉框 求帮忙
- 可以向上移动一个,但是第二个怎么移??
- 怎样刷新页面的部份内容
- 有关JavaScript的问题
- 遍历控件对象捆绑事件~参数传值错误~高手都来解释一下
- 求日期判斷表達式
- 怎样隐藏我的工具栏???
- About HTML+TIME
- javascript的onclick问题,急...............................................
- 请问如何用javascript读出文件的大小。
- 菜鸟问题,help me.
<a href="javascript:history.back(-1);">back</a>
<iframe id=iframeID></iframe>
<br>
<a href="#" onclick='document.all.iframeID.src="a.htm"'>back</a>
用上面的方法,我觉得可能还解决不了问题。
现在的例子是我为说明问题而写的。
主要的问题是,对用户点了IE的后退按钮,而退不回去,用户将感到很奇怪。
我要么解决掉此问题,要么将history清空,这样回退按钮就会变灰,用户也就能理解了。不然的话,IE的后退按钮可以按下,但又退不回去,就显得不合理了。当然,我最希望能后退,关于您刚才的解答是在页面上添加后退功能,而我是想让
IE的后退按钮,和平时那样回退(从页面的观感上来讲)
我想只有将history清空加上在页面上添加后退功能了,