checkbox 操作汇总
1.遍历checkbox-根据type$("input[type='checkbox']").each(function () { $(this).prop('checked',false);});2.遍历checkbox-根据name$("input[name='level_input']").each(function () { $(this).prop('checked',false);});3.获取所有选中项的值let level_input_arr = [];$("in
原创
2020-11-12 17:20:41 ·
149 阅读 ·
0 评论