I've realized that Chrome, it seems, will not allow me to hide <option>
in a <select>
. Firefox will.
I need to hide the <option>
s that match a search criteria. In the Chrome web tools I can see that they are correctly being set to display: none;
by my JavaScript, but once then <select>
menu is clicked they are shown.
How can I make these <option>
s that match my search criteria NOT show when the menu is clicked? Thanks!
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…