您现在的位置是:网站首页> 编程资料编程资料
select不支持双击dbclick事件纯html+css实现Element loading效果纯html+css实现奥运五环的示例代码HTML+CSS实现导航条下拉菜单的示例代码html+css实现滚动到元素位置显示加载动画效果纯html+css实现打字效果html+css实现环绕倒影加载特效html输入两个数实现加减乘除功能html中显示特殊符号(附带特殊字符对应表)关于html选择框创建占位符的问题html css3不拉伸图片显示效果
2023-10-08
282人已围观
简介 有关select不支持双击事件,下面有个示例,大家可以看看
XML/HTML Code复制内容到剪贴板
- <div class="centent" style="width:200px; float:left; margin-right:20px;">
- <select multiple="multiple" id="select1" style="width:150px; height:160px;">
- <option value="1">选项1option>
- <option value="2">选项2option>
- <option value="3">选项3option>
- <option value="4">选项4option>
- <option value="5">选项5option>
- select>
- <div>
- <span id="add" style="display:block; width:140px; cursor:pointer;">选中添加到右边>>span>
- <span id="addAll" style="display:block; width:140px; cursor:pointer;">全部添加到右边>>span>
- div>div>
- <div class="centent" style="width:200px; float:left; margin-right:20px;">
- <select multiple="multiple" id="select2" style="width:150px; height:160px;">
- select>
- <div>
- <span id="add1" style="display:block; width:140px; cursor:pointer;"><<选中删除到左边span>
- <span id="addAll1" style="display:block; width:170px; cursor:pointer;"><<全部选中删除到左边span>
- div>
- div>
JavaScript Code复制内容到剪贴板