Select / Deselect all checkboxes using jQuery

1829 2


In this tutorial i explains how to select and deselect multiple check box using jquery.

First you have to include a jQuery Libarary

HTML Code for Check boxes

#select_all is the id for check box  and items checkboxes have a checkbox class.

Jquery Script

Demo

  • Select all
    • Item 1
    • Item 2
    • Item 3
    • Item 4
    • Item 5

Here is the full code that we have written during this tutorial:

Comments

comments

In this article

Join the Conversation