Select/Unselect Table all row by clicking the checkbox using jquery. You can do this by class selector. Make a class and apply it on all checkbox and select or unselect using class name by just one line of code.
| Name | City | |
|---|---|---|
| Ram | Vns | |
| Syam | Alld | |
| Gita | LKO | |
| Anita | Vns |
Code
<html>
<head>
<title>Table
Select</title>
<style>
.chk {
}
</style>
