禁止Firefox缓存input的值

时间:2014-01-18 18:32:46   收藏:0   阅读:339

给input加上autocomplete=”off” 后firefox就不会在刷新时使用缓存值了

如:<input type=‘text‘ autocomplete="off"  /> 这样子firefox在刷新时候就不会保留缓存值了啦

原文:http://www.cnblogs.com/paly76/p/3524954.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!