首页 > 技术文章 > jquery移除元素某个属性

dotnetHui 2017-12-21 14:24 原文

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

 

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

推荐阅读