JSFiddle - React, Tailwind, and code Playground
HTML
<select id="mySelectBox">
<option> first</option>
<option selected="selected"> second </option>
<option> third </option>
</select>
JavaScript
$('#mySelectBox option').each(function() {
if (this.selected)
alert('this option is selected');
else
alert('this is not');
});