2019独角兽企业重金招聘Python工程师标准>>> $("[id$='pageBlock']").delegate(".singleCheckbox", "click", function(){ detectSingleCheckbox(); }); $("[id$='pageBlock']").delegate(".allCheckbox", "click", function(){ detectAllCheckbox(); }); 转载于:https://my.oschina.net/u/922487/blog/149087