Trying to hide some options tag with jquery doesn't work IE, Safari and Opera

后端 未结 2 1119
[愿得一人]
[愿得一人] 2021-01-17 02:56

I am trying to hide some tags with jquery but it doesn\'t seem to work.

  • I want to hide all options that have the rel

2条回答
  •  旧巷少年郎
    2021-01-17 03:28

    You can't hide or show options. What you must do is clone your select and delete option tags you don't want.

    EDIT : something like that http://jsfiddle.net/RnfqW/5/

提交回复
热议问题