Answers for "is disabled jquery"

0

using jquery how to add disabled to a html tag

$(element). prop('disabled', true);
Posted by: Guest on April-15-2021
0

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");
  });
});
Posted by: Guest on April-28-2020

Browse Popular Code Answers by Language