<input autocomplete="off" />属性
来源:互联网 发布:数据库系统概论笔记 编辑:程序博客网 时间:2024/05/16 17:35
<inputname="name" type="text" autocomplete="off" class="advsearchinp" id="id" />
这里autocomplete属性是: input历史记录的功能,on是打开,off是关闭. 默认为on.
代表的意思为:是否让浏览器自动记录之前输入的值.
但是,有时候弹出的下拉框会挡住页面显示内容,而且在某些情况下也不需要对input框进行记录,如号码查询的input框,用户不会对同一个号码进行多次查询,就没有必要让浏览器记录。
MSIE自定义了input 的扩展属性 autocomplete,置为off即可
<input type="text" autocomplete="off" id="number"/>
用这个方法可以屏蔽MSIE,Firefox则需要使用另一个扩展属性disableautocomplete
<input type="text" autocomplete="off" disableautocomplete="true" />
两扩展属性可以同时使用,浏览器会根据自身特性自动解析。
1 0
- <input autocomplete="off" />属性
- <input autocomplete="off" />属性
- 关于INPUT的autocomplete="off" 属性
- input autocomplete="off"属性的作用
- input autocomplete="off"
- autocomplete 属性在html <input autocomplete="on|off">中的使用
- autocomplete 属性在html <input autocomplete="on|off">中的使用
- 关于INPUT的autocomplete="off" 属性(浏览器表单默认的记忆功能)
- input标签中autocomplete="off"失效的具体解决办法
- 关闭autocomplete="off"
- autocomplete="off"
- autocomplete="off"不起作用解决方案
- 简单代码autocomplete="off"实现禁用input输入框的自动提示功能
- 在chrome浏览器下 input的autocomplete="off"失效,导致的自动填充
- autocomplete="off"在chrom中失效
- input autocomplete
- html中input标签type=text的只读属性readonly和autocomplete
- 验证码 style="ime-mode:disabled;" autocomplete="off"
- LeetCode: Binary Tree Maximum Path Sum
- 机器人走迷宫问题
- 快播5.0官方免费版 精简版
- mysql 参数配置
- mysql索引类型
- <input autocomplete="off" />属性
- Ruby全局变量
- C++实现"类java"代码
- tomcat6和tomcat7的user配置
- 38 Redirect 与RequestDispatcher
- netty权威指南 ---------第三章 入门应用
- CF#268 (Div. 2) A.
- 软件学社第一次培训第一部分
- 海量数据等概率随机抽样-蓄水池算法