29.(jquery) checkboxlist选项框的禁用以及取消禁用
作者:互联网
1.禁用checkboxlist每个选项,
$("#<%= this.cblStudentName.ClientID%> :checkbox").each(function(){
$(this).attr("disabled","disabled");
});
2.取消禁用checkboxlist每个选项,
$("#<%= this.cblStudentName.ClientID%> :checkbox").each(function(){
$(this).removeAttr("disabled");
});
标签:jquery,选项,checkbox,禁用,29,disabled,checkboxlist,each 来源: https://www.cnblogs.com/sweettie/p/15046837.html