Radio inputs toggle easily between classes. .zInput and .zSelected.
Checkboxes with the same name (i.e. name="check") are included in the same outer wrapper for clear usability.
Uniquely named checkboxes come with their own outer wrapper.
$("#affected").zInput();or apply the function to the whole document with