- How do I get the selected value of multiselect dropdown in jQuery?
- How to show multiple selected value in dropdown in html?
How do I get the selected value of multiselect dropdown in jQuery?
$('select#my_multiselect'). val() will return an array of the values for the selected options - you dont need to loop through and get them yourself.
How to show multiple selected value in dropdown in html?
For windows: Hold down the control (ctrl) button to select multiple options. For Mac: Hold down the command button to select multiple options.