I have a multi select select box here in this fiddle drawn as,
<select id="select" multiple>
<option value="-1">Select</option>
<option value="1">a</option>
<option value="2">b</option>
<option value="3">c</option>
<option value="4">d</option>
</select>
How can I select multiple values without pressing Ctrl
key. ie, when I select an option, if it's not selected already should be selected and vice versa.
EDIT:
1. Also how can I style that multi select dropdown such that it can be displayed as similar as a single select dropdown.
2. I tried using the above example and sample is here: http://jsfiddle.net/mpsbhat/ua057y5t/. But in this case I cant able to fire the change event then.