Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery select all checkboxes except disabled

//html
  <input type="checkbox" id="checkboxAll" title="Select All" />
 //jquery
     $('#checkboxAll').change(function () {
            $('input:checkbox').filter(function () {
                return !this.disabled
            }).prop('checked', this.checked);
     });
Source by edwindeloso.com #
 
PREVIOUS NEXT
Tagged: #jquery #select #checkboxes #disabled
ADD COMMENT
Topic
Name
2+7 =