var flag = $( this ).attr( " checked " );
$( " [name=subBox]:checkbox " ).each( function () {
$( this ).attr( " checked " , flag);
})
转载于:https://www.cnblogs.com/mengrulsy/archive/2012/03/22/2411190.html
var flag = $( this ).attr( " checked " );
$( " [name=subBox]:checkbox " ).each( function () {
$( this ).attr( " checked " , flag);
})
转载于:https://www.cnblogs.com/mengrulsy/archive/2012/03/22/2411190.html