I am working on a menu and I want the options within it to be mutually exclusive. For example, if they select Low Importance, then High Importance should not be an option, and if they select Low Urgency then High Urgency should not be an option either. How can I achieve this using jQuery?
<label>Select the priority level of the task: </label>
<select id="taskPriority" name="priority[]" multiple="multiple">
<option value="lowImp">Low Importance</option>
<option value="highImp">High Importance</option>
<option value="lowUrg">Low Urgency</option>
<option value="highUrg">High Urgency</option>
</select>