0
This commit is contained in:
1 parent
81939bca02
commit
14c4a897bb
3 files changed
+4
-8
No files matched your search
@@ -70,10 +70,6 @@ layui.use(['form'], function(){
|
||||
|
||||
// 监听班级复选框
|
||||
form.on('checkbox(selectall)', function(data){
|
||||
// console.log(data.elem); //得到checkbox原始DOM对象
|
||||
// console.log(data.elem.checked); //是否被选中,true或者false
|
||||
// console.log(data.value); //复选框value值,也可以通过data.elem.value得到
|
||||
// console.log(data.othis); //得到美化后的DOM对象
|
||||
if(data.elem.checked == true)
|
||||
{
|
||||
$(data.elem).nextAll('input').each(function()
|
||||
|
||||
Reference in new issue
Block a user