html select模拟readonly
来源:互联网 发布:装修软件手机版 编辑:程序博客网 时间:2024/05/22 10:30
select不支持readonly,只能用其他办法去模拟readonly了,效果就是点击select选择元素,然后自动变回默认的。
<select id="test" onfocus="this.defaultIndex=this.selectedIndex;" onchange="this.selectedIndex=this.defaultIndex;"><option value="1">test1</option><option value="2">test2</option><option value="3">test3</option><option value="4"<span style="font-family: Arial;"> selected="selected"</span><span style="font-family: Arial;">>test4</option></span><option value="5">test5</option></select>
0 0
- html select模拟readonly
- 让html select支持readonly属性
- 让html select支持readonly属性
- HTML控件select, 是readOnly设置
- 让html select支持readonly属性
- 让html select支持readonly属性
- 让html select支持readonly属性
- select readonly
- HTML中Select不用Disabled实现ReadOnly的另类实现
- HTML中Select不用Disabled实现ReadOnly的效果
- HTML中Select不用Disabled实现ReadOnly的另类实现
- 手机版html中用input模拟select...
- select 的readonly效果
- select 实现readonly效果
- set html as readonly
- html中 disabled readonly
- set readonly to select box
- 控制select为readonly状态
- poj2096 (dp求期望)
- update-rc.d使用
- Come back!
- 在tableview 中的代理调用 [tableView cellForRowAtIndexPath:indexPath] 提示内存错误
- 06-世界坐标系的原点为什么是左下角而不是屏幕中心
- html select模拟readonly
- sicily 1282 Computer Game
- 除去代码行号
- android自定义View控件,实现自定义进度条控件
- clojure学习笔记1——安装
- 中国芯需要自力更生 关注高性能处理器专利布局
- markdown 段首空格
- LeBlanc的安卓学习之旅 Adapter学习
- 如何扩充C盘空间,不需要删除其余盘的任何东西。