table 的全选和反选
JS 代码:
function select_all(obj, table, cb_id) { if ($(obj).prop('checked')) { $(table).find(cb_id).prop('checked', 'checked'); } else { $(table).find(cb_id).removeAttr('checked'); } }
Categories:
html.css.js
Tags:
js
已禁用评论。