There are several ways to hide dropdown value in native HTML select tag. In the case when your dropdown looks similar to the code below.
<select> <option value="dog">Dog</div> <option value="cat">Cat</div> <option value="horse">Horse</div> </select>
document.querySelector('option[value="horse"]').style.display = "none";
From another hand, if you are sure, that you will not need it anymore, you can just remove this option.
How to hide dropdown values in jQuery?
If you are using
jQuery you can even do this more quicker. Instead of modifying CSS styles by hand, you can use
hide() method to do this (and next, you and use
show() method to display this option again).