$('#btnSelectAll').click(function() {
$('.inputchbox').attr('checked', true);
});
$('#btnCancel').click(function() {
$('fieldset:not(:checked)').find("input,select,textarea").removeAttr('disabled');
});
When canceling, do I only need to enable checked flags? Can I use something like this?
On the selectall button, I select all the checkboxes from my set of fields, but here I need to select only the checkboxes with the checkbox turned on and the checkboxes with disabling disabled. So the checkboxes are disabled in my field on boot by myself?
How to exclude disabled checkboxes?
source
share