当点击表格里的一个多选框时,出发一个事件并判断多选框是否选中
e += "<input name = 'enable_a' type='checkbox' checked = 'checked' value= '1' style = 'margin: 6px 0px 0px 0px;width: 18px;height: 18px;' onclick=\"checkboxOnclick(this,"+rowdata.id+")\" >";
//点击是否启用选择框
function checkboxOnclick(checkbox,id){
var checked = '';
if (checkbox.checked == true){
//Action for checked
checked = '1';
}else{
//Action for not checked
checked = '0';
}
}