多选效果如下图 代码如下: 代码如下:[removed]<!– $(document).ready(function() { $(“#selectall”).click(selectAll); }); function selectAll() { var checked = $(“#selectall”).attr(“checked”); $(“.selectable”).each(function() { var subchecked = $(this).attr(“checked”); if (subchecked != checked) $(