html select multiple
snippet in html

html select multiple

user4569

To select multiple options you have to use 'multiple' attribute in select dropdown

Selecting multiple options vary in different operating systems and browsers:
For windows: Hold down the control (ctrl) button to select multiple options
For Mac: Hold down the command button to select multiple options

Html:
<select name="direction" id="directions" multiple>
  <option value="east">East</option>
  <option value="west">West</option>
  <option value="north">North</option>
  <option value="south">South</option>
</select>

<!--
I hope it will help you.
Namaste
-->

how to choose multiple option from select option

user2253

<!-- JUST ADD multiple ATTRIBUTE WITHIN select ATTRIBUTE -->
Cars:<br>
<select name="car" multiple>
    <option value="Volvo">Volvo</option>
    <option value="Thar">Thar</option>
    <option value="Audi">Audi</option>
</select>

html select multiple selected values

user6558

var values = $('#select-meal-type').val();