how to remove only one style property with jquery

后端 未结 2 403
再見小時候
再見小時候 2020-12-01 02:48

I have a div with this property style=\"-moz-user-select:none; position:static !important;\". I need to remove the -moz-user-select Tried with $(se

2条回答
  •  盖世英雄少女心
    2020-12-01 02:58

    You can also replace "-moz-user-select:none" with "-moz-user-select:inherit". This will inherit the style value from any parent style or from the default style if no parent style was defined.

提交回复
热议问题