后退按钮编码在IE中不起作用 [英] back button coding not working in ie
本文介绍了后退按钮编码在IE中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,后退按钮编码在IE中不起作用
错误是
网页已过期
最可能的原因:
该网页的本地副本已过期,并且该网站要求您再次下载.
您可以尝试的方法:
单击工具栏上的刷新按钮以重新加载页面.刷新后,您可能需要再次导航到特定网页,或重新输入信息.
更多信息
我的代码在
hii all, back button coding is not working in IE
the error is
Webpage has expired
Most likely cause:
The local copy of this webpage is out of date, and the website requires that you download it again.
What you can try:
Click on the Refresh button on the toolbar to reload the page. After refreshing, you might need to navigate to the specific webpage again, or re-enter information.
More information
my code is in
<img önclick="javascript:window.history.back();returen= false;"
中
请帮助我
推荐答案
试试这个...
Hi,
Try this...
<img onclick="javascript:history.go(-1);window.location.reload(true);return false;" />
使用此脚本
use this script
<script type="text/javascript">
function noBack(){window.history.forward();}
noBack();
window.onload=noBack;
window.onpageshow=function(evt){if(evt.persisted)noBack();}
window.onunload=function(){void(0);}
</script>
这篇关于后退按钮编码在IE中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文