I am trying to get rid of an empty option at the top of my select. This solution works in Chrome but not in IE as IE doesn't support display:none on options.
<option value="" style="display:none"></option> What would be the best way to hide it? I'm using AngularJS framework and tried plenty of solutions like ng-if but none of them work...
select.removeChild(select.options[0])will do the job.