Press "Enter" to skip to content

Quickly Add Check/Uncheck All Functionality To Your Forms Or Tables

jQuery Check All plugin that allows you to quickly add check/uncheck all functions to your forms or tables.

simple form checkbox checked, jquery check all checkboxes, jquery check all checkboxes by name, checkbox select all jquery, jquery check all checkboxes in table

the available choices:

  • container: a delimited string or jQuery object for the element that contains children’s checkboxes. Document assumptions.
  • childCheckboxes: A selector string or jQuery object for children’s checkboxes. Input defaults [type = checkbox]. Note: If you provide this option, make sure that what you pass are checkboxes.
  • showIndeterminate: A Boolean value that specifies whether the All check box is shown in an unselected state if a subset of the sub-check boxes are selected.

How to make use of it:

1. Include jQuery and the script somewhere on your page.

<script src="jquery.js"></script>
<script src="jquery-check-all.js"></script>

2. You will have markup containing your checkboxes:

      <td><input id="check-all" type="checkbox"></td>
      <td><input type="checkbox" value="1"></td>
      <td>option 1</td>
      <td><input type="checkbox" value="2"></td>
      <td>option 2</td>
      <td><input type="checkbox" value="3"></td>
      <td>option 3</td>

3. Call the checkAll() function on the “check all” checkbox to configure the plugin.

  $(document).ready(function() {

simple form check all checkbox, jquery check all checkboxes Plugin/Github, check all checkbox javascript, check/uncheck all checkbox jquery

See Demo And Download

Official Website(markgx): Click Here

This superior jQuery/javascript plugin is developed by markgx. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.