selected multiple select javascript code example
Example 1: how to choose multiple option from select option
<!-- 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>
Example 2: html select multiple selected values
var values = $('#select-meal-type').val();