This website uses cookies to ensure you get the best experience on our website. Useful in cases where you want to select multiple rows/items in an HTML table/list. To develop this small functionality, we will use the “CheckAll” jQuery plugin. Create a Check All checkbox for a group of child checkes as follows: This will produce the following output − Now I am going to click the above button “Want To Select All Values” − Click the above button “Want To UnSelect All Values” − Just another jQuery Check All plugin which enables a 'Master' checkbox to select/unselect all the related (children) checkbox inputs with just one click. Web hosting by Digital Ocean | CDN by StackPath, "https://code.jquery.com/jquery-3.5.0.js". The “Select all” checkbox have an id #select_all and items checkboxes have a checkbox class. All rights reserved. SelectNone is clicked, all checkbox labels have the 'c_on' class removed and all checkbox … See the example below to get the ids of all the selected checkboxes.