清除火狐中存在的input、select的缓存
2016-06-29 15:31
351 查看
方法一:
在不想使用缓存的input 中添加 autocomplete="off";
eg: <input type="text"autocomplete="off" name="test" />
方法二:
在 input 所在的form 标签中添加 autocomplete="off";
eg:
<form action="#" autocomplete="off">
<input type="text" autocomplete="off" name="test" />
</form>
在ie中select缓存问题,()
可以在页面加载时添加js代码控制select默认选定项
document.getElementById("das").selectedIndex = 0;
在不想使用缓存的input 中添加 autocomplete="off";
eg: <input type="text"autocomplete="off" name="test" />
方法二:
在 input 所在的form 标签中添加 autocomplete="off";
eg:
<form action="#" autocomplete="off">
<input type="text" autocomplete="off" name="test" />
</form>
在ie中select缓存问题,()
可以在页面加载时添加js代码控制select默认选定项
document.getElementById("das").selectedIndex = 0;
相关文章推荐
- php mysqli查询语句返回值类型实例分析
- 各种奇奇怪怪的日期格式转换
- JAVA中浅复制与深复制
- 第8章 Linux磁盘与文件系统管理
- java server pages
- maven添加仓库地址
- left join,right join,join的区别
- C中入栈顺序和运算顺序有关系吗?
- Android 微博长图加载
- jdbc batch批处理
- Python正则表达式中的 compile,search,group,groups 函数的简单说明
- 白领们都在开始操作挣钱的方式,相信你也可以做到
- 空指针 野指针与悬垂指针
- 替换sql中换行符
- Linux VI VIM
- python django下载大的csv文件
- 实现按id递增顺序依次读取数据
- 利用tmp目录权限、suid 权限和C语言使普通帐号提权为ROOT权限
- 刘汝佳biginteger
- Android App开发中使用RecyclerView替代ListView的实践