I need to disable all the check boxes inside a table cell when clicking on a hyperlink inside the same table.
I\'m using the following jquery code to select all the
// Enable/Disable All Checkboxes
$('#checkbox').click(function() {
var checked = $(this).attr('checked');
var checkboxes = '.checkboxes input[type=checkbox]';
if (checked) {
$(this).attr('checked','checked');
$(checkboxes).attr('disabled','true');
} else {
$(this).removeAttr('checked');
$(checkboxes).removeAttr('disabled');
}
});