`

jquery全选

阅读更多
jQuery(function($) {
$("#<portlet:namespace/>messageSendCheckAll").click(function(){
if(this.checked){
$("input[name='contactId']").each(function(){
this.checked = true;
});
} else {
$("input[name='contactId']").each(function(){
this.checked = false;
});
}
});
});
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics