HTML <input> 标签的 readonly 属性
来源:互联网 发布:软件二次开发端口 编辑:程序博客网 时间:2024/05/22 06:09
readonly 属性规定输入字段为只读。
只读字段是不能修改的。不过,用户仍然可以使用 tab 键切换到该字段,还可以选中或拷贝其文本。
readonly 属性可以防止用户对值进行修改,直到满足某些条件为止(比如选中了一个复选框)。然后,需要使用 JavaScript 消除 readonly 值,将输入字段切换到可编辑状态。
readonly 属性可与 <input type="text"> 或 <input type="password"> 配合使用。
- HTML <input> 标签的 readonly 属性
- HTML <input> 标签的 readonly 属性
- html的input标签disabled和readOnly属性的异同点
- html中input标签type=text的只读属性readonly和autocomplete
- input标签的readonly属性和disabled属性的区别
- <input/>标签的disabled属性与readonly属性
- struts1 html 标签 readOnly属性
- html中input只读属性readonly 和 disable的区别
- html中input只读属性readonly 和 disable的区别
- html的input 标签自定义属性
- HTML <input> 标签的 type 属性
- html中的input标签的checked属性
- HTML <input> 标签的 type 属性
- html中input标签的tabindex属性
- html 5 input标签的属性
- 动态修改html input标签的属性
- HTML <input> 标签的 disabled 属性
- HTML <input> 标签的 type 属性
- Berkeley DB事务篇
- git pull报错:Auto Merge Failed; Fix Conflicts and Then Commit the Result.
- SQL Server 存储过程
- Firefox(火狐浏览器)丰富的Web开发辅助插件
- 一些开源技术
- HTML <input> 标签的 readonly 属性
- Android Toast显示动画
- 如何同时启动多个Tomcat服务器
- UIView的autoresizingMask属性
- HEVC中CU分割示例
- Sybase ASE的字符集
- QT中操作数据库(ACCESS、MySql)
- CCSprite精灵的使用
- android apk签名 增加修改系统时间的权限