jquery移除元素某个属性

removeAttr() 方法从被选元素中移除属性。

 

例如:$("p").removeAttr("style");

posted @ 2017-12-21 14:24  liu_xh  阅读(15932)  评论(0)    收藏  举报