当前位置:首页 > 本站程序 > 心得分享

在使用window.history.back()后,上一次输入的内容却不存在的解决方法

2011-11-13    作者:未知    来源:互联网

<HTML><HEAD>
<META content=history name=save>
<STYLE>
  .savehistory {behavior:url(#default#savehistory);}
</STYLE>

<META c name=GENERATOR></HEAD>
<BODY>加了历史保留功能:<BR><TEXTAREA class=savehistory></TEXTAREA><BR>没有加的:<BR><TEXTAREA></TEXTAREA>
<P><INPUT onclick='javascript:location.href="http://otcms.com type=button value=点击进入,再按后退键试试?> </P></BODY></HTML>

======================
1,先在头顶加上<META content=history name=save>
2,加上css样式  .savehistory {behavior:url(#default#savehistory);}
3,在表单的表格上应用.savehistory 样式

阅读:2613    评论:0
相关评论
COPYRIGHT © 2016
【电脑版】  【回到顶部】