WAP手机版
保存到桌面加入收藏设为首页
网钛CMS(OTCMS) PHP版 V2.x
当前位置:首页 > 本站程序 > 心得分享

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

2011-11-13 17:14:49   未知   互联网   2613   0

<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号