摘要: 就是一个小js,直接上代码 $("input[name='checkboxlist']").each(function () { if (this.checked && e.value != this.value){ this.checked = false; } }); 阅读全文
posted @ 2020-01-11 16:31 leagueandlegends 阅读(453) 评论(0) 推荐(0)
摘要: 接触bootstrapvalidator时间不久,最近需要多个字段共同验证,网上查了一下未找到,查阅api文档,发现确实可以实现。 先看dom <div class="form-group"> <label class="col-sm-3 control-label">起止年限:</label> < 阅读全文
posted @ 2020-01-11 13:54 leagueandlegends 阅读(518) 评论(0) 推荐(0)