hide() not working in IE

前端 未结 6 415
你的背包
你的背包 2021-01-25 19:31

My code works perfect in firefox and gives error in IE. any ideas?

I have a dropdown with various options, I am trying to show/hide options in another dropdown based on

6条回答
  •  时光说笑
    2021-01-25 20:25

    Your markup is not correct. You are each option open tag isn't properly closed.

    Also, the specs do not specify CSS changes to individual option tags, though it does work on Firefox.

    In simpler words, you cannot hide individual inputs - in which case, you'll have to remove them.

提交回复
热议问题