I would like to enable the edit&delete checkboxes of that row, when the respective chkView is checked and disable them if it is unchecked. This code is not firing at all
$(document).on('change','.chkView',function(){
var row = $(this).closest('tr');
if($(this).is(':checked'))
{
$(row).find('.chkEdit,.chkDelete').prop("disabled",false);
}
else
{
$(row).find('.chkEdit,.chkDelete').prop("disabled",true);
}
});
You are missing '.' in the selector class.
Demo:
http://jsfiddle.net/J6TN8/2/