Answers for "how to select multiple option in dropdown using javascript"

3

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>
Posted by: Guest on August-23-2020
0

is multiple select javascript

var isMulti = document.getElementById('selectId').multiple; // true/false
Posted by: Guest on August-30-2021

Code answers related to "how to select multiple option in dropdown using javascript"

Browse Popular Code Answers by Language