Answers for "not disabled jquery"

1

jquery option not disabled

const opt = $('#select option:not(:disabled)'); // array with all options not disabled
const first = $($('#select option:not(:disabled)')[0]); // first option not disabled
Posted by: Guest on April-20-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

Code answers related to "Javascript"

Browse Popular Code Answers by Language