JSFiddle - React, Tailwind, and code Playground
by dmethvin
HTML
<select>
<option>whip it</option>
<option style="display:none">into shape</option>
<option>move forward</option>
</select>
JavaScript
// #4740 (IE)
alert($("option:visible").length);