I am attempting to add a No Preference choice to my check box list and what I would like to happen is as follows:
-
All checkboxes that are selected become unchecked when “No Preference” is selected.
-
If “No Preference” is selected and another checkbox is selected, then “No Prefernece” becomes unselected.
Here is what I have so far: http://jsfiddle.net/VuS5R/1/
Thank you for your help.
The elegant solution from jQuery.
The “No preference” has “Nop” class, others “pref”: