JSFiddle - React, Tailwind, and code Playground
by Sivasakthi Chandrasekaran
HTML
<select multiple="" title="" class="" id="fm_delivery_or_collection">
<option value="90" selected>Delivery or Collection1</option>
<option value="91" selected>Delivery or Collection2</option>
<option value="92">Delivery or Collection3</option>
</select>
<br/>
JavaScript
$("#fm_delivery_or_collection option:selected").each(function() {
var $this = $(this);
if ($this.length) {
var selText = $this.text();
}
});