jquery toggle switch check event code example Example: jquery toggle checkbox checkBoxes.attr("checked", !checkBoxes.attr("checked"));