jQuery – Ajax Tutorials

Select / Deselect all checkboxes using jQuery

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:

About the author

Anuj kumar

I'm Anuj kumar a web developer with 4+ year experience .I write blogs in my free time. I love to learn new technologies and share with others. I founded PHPGurukul in September 2015. The main aim of this website to is provide php , jquery , mysql , phpoops and other web development tutorials. I am trying best effort to make PHPGurukul useful for every single moment spend on this website. If you think this website is useful to visit please share with your friend and buddies.

Leave a Comment

2 Comments

Subscribe For Latest Updates