[jQuery] Cancel combo change event
I've got 4 identical combo boxes like the one below.
<select name='cbActionType' class='ActionType'>
<option value="Retained">Retained</option>
<option value="RolledOver">Rolled-over</option>
<option selected="selected" value="Recommended">Recommended</option>
<option value="NotRecommended">Not recommended</option>
</select>
I need to limit the combo box, so that only 1 can have the
"Recommended" value at any one time. When the user tries to set other
combo boxes to "Recommended", i need to cancel the change event, set
the combo box to its original value, and display a warning message.
I have no problem displaying the message, but how can i change the
combo box to its original value?
Thank you!