$("body").delegate('tr', 'click', function (e) {
if(e.target.type==='checkbox'){
return;
}
console.log($(this).find(":checkbox").prop("checked"))
if ($(this).find(":checkbox").prop("checked")) {
$(this).find(":checkbox").removeAttr("checked");
}else {
$(this).find(":checkbox").prop("checked", true);
}
});
if(e.target.type==='checkbox'){
return;
}
console.log($(this).find(":checkbox").prop("checked"))
if ($(this).find(":checkbox").prop("checked")) {
$(this).find(":checkbox").removeAttr("checked");
}else {
$(this).find(":checkbox").prop("checked", true);
}
});