• 保存到桌面  加入收藏  设为首页
心得分享

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

时间:2011-11-13 17:14:49  作者:未知  来源:互联网  浏览:2351  评论:0
内容摘要: .savehistory {behavior:url(#default#savehistory);}

<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 样式


标签: history.back  解决方法 
相关评论
 企业客服QQ:800166366   QQ交流群4:137065150    OTCMS作者QQ:877873666    阿里旺旺:  闽ICP备12010380号
Powered by OTCMS V1.00 Beta