Hide content of a dropdown list based on the tag