First of all I'm very new to java script.And I'm developing in my web application and I have a drop down menu where list of persons are included. Using that I know how to pass the selected value of a one person.But how can I select multiple values (names of persons) and send that data to the back end implementation.Is that possible using select tag? Thank you very much!
<select class="studentList" id="dropDown1">
<option value="1">Joseph</option>
<option value="2">Rick</option>
<option value="3">john</option>
</select>
script code
var drop = document.getElementById("dropDown1");
var selectedPerson = drop.options[drop.selectedIndex].text;
