jQuery | Multiple Checkbox Check/ Uncheck on Table Tutorial

In general application with tabular data, may have selected using a checkbox on each row. In that case, there should be a master checkbox to check/uncheck all table rows.

Here we will discuss an example table that will have a master checkbox on the header and each table row with its own checkbox.

A user can check/uncheck all rows using a single master checkbox on the header.

Add following HTML template with a table having a header with master checkbox and body with rows each with a checkbox

 

Leave a Reply

avatar
  Subscribe  
Notify of