jquery is :disabled code example
Example 1: using jquery how to add disabled to a html tag
$(element). prop('disabled', true);
Example 2: 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");
});
});