jquery toggle checkbox 1

jquery toggle checkbox

checkBoxes.attr("checked", !checkBoxes.attr("checked"));

Here is what the above code is Doing:
1. Find all the checkboxes on the page.
2. Set the checked attribute to the opposite of what it was.

Similar Posts