![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JS
kzzx
这个作者很懒,什么都没留下…
展开
-
图片上传JS验证及进度条
小白一枚,上传单张图片记录下html: <tr> <td><b>上传图片:</b></td> <td> <input id="lefile" name=&qu原创 2018-07-22 21:31:09 · 287 阅读 · 0 评论 -
bootstrap-select下拉选中框()
所需要的js文件引用文件:html:js 取值: var Svalue = $("#sel_search_orderstatus5").multipleSelect("getSelects"); var Stext= $("#sel_search_orderstatus5").multipleSelect("getS...原创 2018-07-22 22:04:23 · 903 阅读 · 0 评论 -
js判断多组radio按钮,每组至少选择一个
var radiolen = $("#fushutable input[type=radio]:visible").length;获取全部可见的radio按钮 var checkedlen = radiolen / 3;//一组3个 if ($("input[type=radio]:checked").length < checkedle...原创 2018-08-28 15:22:40 · 3872 阅读 · 0 评论 -
jquery on 用于获取后台加载页面上元素的方法
$(document).ready(function(){ $("div").on("click","p",function(){ $(this).addClass("display"); });通俗的讲就是页面上没有创建的元素,从后台拼接好的,可以用on方法下面是菜鸟教程上的说明定义和用法on() 方法在被选元素及子元素上添加一个或多个事件处理程序。自 jQ...原创 2019-06-11 11:13:42 · 202 阅读 · 0 评论