Answers for "js select option multiple"

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 "js select option multiple"

Browse Popular Code Answers by Language