hide() not working in IE

前端 未结 6 474
你的背包
你的背包 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:13

    Sadly, you just can't.
    IE don't support hide of individual options in a select, neither Chrome or Opera. This feature isn't cross browser.

    What you can do is remove the option and add it again later...

提交回复
热议问题