I have very limited jQuery experience and am having trouble with selecting/deselecting options.
I have a list of cars in a multi select with the default option being All.
When a user selects any other option, I need to deselect "ALL" to only have the selected option "selected". Conversly, if a user selects "ALL", I need to ensure only "ALL" is selected and the cars that were selected are deselected.
Below is my car list (reduced for example purposes);
<select id="carsDropDown" multiple="multiple">
<option name="carCode" selected="selected" value="ALL">All Cars</option>
<option value="AUD" name="carCode">Audi</option>
<option value="BMW" name="carCode">BMW</option>
<option value="FOR" name="carCode">Ford</option>
<option value="SAB" name="carCode">Saab</option>
<option value="VOL" name="carCode">Volvo</option>
</select>
Any help is greatly appreciated.