$(function() { $("#chk_all").click(function() { $("input[name='CaseID']").attr("checked", this.checked); }); }); 相关文章: