How to remove width attribute which is under style attribute using jQuery?

前端 未结 7 1280
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-01 12:40
TEST TEXT

How to remove width attr

7条回答
  •  不思量自难忘°
    2021-02-01 13:13

    I think you must try this:

    $(".views").removeAttr('style').attr('style','position: relative; height: 15px; overflow: hidden;');

提交回复
热议问题