I am trying to hide and show tags in a dropdown list, which I initially managed to get work in everything bar Internet Explorer. I then found that wrapping the options that needed to be hidden in tags solved the IE problem. But i'm now having an issue with removing them, because the code that I have written also removes the dropdown that they are contained in. What am I doing wrong? Here is the code so far: I am trying to hide and show tags in a dropdown