I want to hide the option field "2018" from the dropdown. following is the html code:
<div class="form-field-select"><select name="tourtax[pa_ar]">
<option value="0">Välj år</option>
<option value="2018" selected="selected">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2021">2021</option></select>
</div>
jQuery:
jQuery('[name=tourtax] option[value=2018]').hide();
This is code is not helping me to hide 2018 from the dropdown. Please help me