Asahi丶的博客全选 JS: window.onload = function (){ var all = document.getElementById ("all"); //全选checkbox var box = document.getElementsByClassName('box'); //子复选框 //遍历checkbox...
一兜糖家居APP的博客站点layui.use('form', function () {var form = ...//全选form.on('checkbox(c_all)', function (data) {var a = data.elem.checked;if (a == true) {$(".cityId").prop("checked", true);form.render('checkbo...