摘要: 转自:https://www.cnblogs.com/lxcmyf/p/6856161.html select标签设置只读的方法(下拉框不可选但可传值) 1. <select id="s1" name="s1" onfocus="this.defaultIndex=this.selectedInde 阅读全文
posted @ 2018-04-18 17:37 Sharpest 阅读(8150) 评论(0) 推荐(0) 编辑
摘要: jquery通过name属性取值的简单实现方法 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 alert($("input[name='inputTest']").val()); alert($("input[type='text']").at 阅读全文
posted @ 2018-04-18 17:23 Sharpest 阅读(441) 评论(0) 推荐(0) 编辑
摘要: <select name="region[province]" id="" class="region valid"><option value="0" selected="selected" tier="1">省、直辖市</option><option tier="1" value="2">北京市 阅读全文
posted @ 2018-04-18 17:21 Sharpest 阅读(12941) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/u013600907/article/details/76165748 阅读全文
posted @ 2018-04-18 16:23 Sharpest 阅读(640) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/zhugewochuang/article/details/80276466 后台:搜索数据放入list,然后为这个list提供响应的get和set方法 [java] view plain copy private List<String> l=ne 阅读全文
posted @ 2018-04-18 16:22 Sharpest 阅读(930) 评论(0) 推荐(0) 编辑
摘要: 只读输入框 为输入框设置 readonly 属性可以禁止用户输入,并且输入框的样式也是禁用状态。 </form> <input class="form-control" type="text" placeholder="Readonly input here…" readonly> 阅读全文
posted @ 2018-04-18 10:09 Sharpest 阅读(947) 评论(0) 推荐(0) 编辑