$("#checkall").click(
function(){
if(this.checked){
$("input[name='total']").each(function(){this.checked=true;});
}else{
$("input[name='total']").each(function(){this.checked=false;});
}
}
function(){
if(this.checked){
$("input[name='total']").each(function(){this.checked=true;});
}else{
$("input[name='total']").each(function(){this.checked=false;});
}
}
);
固定高度
window.parent.adjustFrameSize();