js selects all, inverts, and does not select, and so on according to the code.
//js select all inverse selection code function inTurnSelect() { var CheckBox = $("#titleInfo input[name='titleInfo']"); for (i = 0; i < CheckBox.length; i++) { if (CheckBox[i].checked == true) { CheckBox[i].checked = false; } else { CheckBox[i].checked = true; } } };