Hi, i have disabled all the checkboxes except one. On click of that checkbox i want to enable all the checkbox. and if that checkbox is unchecked then all other checkboxes should remain disabled. Could anybody please help me with this. I have tried to use
$(document).ready(function() {<br>
if ($('#mainCheckbox').is(':checked')) {<br>
$(".otherCheckbox").removeAttr("disabled");
}
});
But this isn't working for me.