JSFiddle - React, Tailwind, and code Playground
HTML
<select name="garden">
<option>Flowers</option>
<option >Shrubs</option>
<option>Trees</option>
<option>Bushes</option>
<option>Grass</option>
<option>Dirt</option>
</select>
JavaScript
$("select").change(function () {
$("select option:selected").each(function () {
alert('change');
});
})
.trigger('change');