记载一段最简单的全选功能Jquery代码。
[code
]$(function(){
$("#chkAll").click(function(){
$("input:checkbox").attr("checked",$(this).attr("checked"));
});
[/code]