jQuery Check/Uncheck All Checkboxes

Check this. This is the easiest way to have one master checkbox that will check/uncheck other checkboxes on a form. HTML with a “Master” checkbox and 3 dependent checkboxes. <input type=”checkbox” id=”masterCheckBox” > Check/Uncheck All <input type=”checkbox” > check 1 <input type=”checkbox” > check 2 <input type=”checkbox” > check 3 jQuery Code: When the masterCheckBox [...]

Also tagged