天涯尽头无女友
!function ($) {//全选 反选 全不选$("#selAll").click(function () {$(".lists :checkbox").not(':disabled').prop("checked", true);});$("#unSelAll").click(function () {$(".lists :checkbox").not(':disabled').prop("checked", false);});$("#reverSel").click(function () {//遍历.lists下的 checkbox;$(".lists :checkbox").not(':disabled').each(function () {$(this).prop("checked", !$(this).prop("checked"));});});}(jQuery)复制代码HTML代码
苹果 香蕉 菠萝 桃子