Answers for "how to select multiple option in select box using jquery"

7

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

jquery set multiple options selected

$("#strings").val(["Test", "Prof", "Off"]);
Posted by: Guest on July-24-2021

Code answers related to "how to select multiple option in select box using jquery"

Browse Popular Code Answers by Language