jquery add disabled code example
Example 1: jquery add disabled to button
$("#button").attr("disabled", true);
Example 2: jq html remove disabled
$('.disabledCheckboxes').removeAttr("disabled");
Example 3: not disabled jquery
$(document).ready(function(){
$(':checkbox.selectall').on('click', function(){
$(':checkbox[class='+ $(this).data('checkbox-name') + ']:not(:disabled)').prop("checked", $(this).prop("checked"));
$(':checkbox[class='+ $(this).data('checkbox-name') + ']:not(:disabled)').trigger("change");
});
});