实例. 从任何p 元素中移除id 属性: $("button").click(function(){ $("p"). removeAttr("id") ; });. 亲自试一试. 定义和用法. removeAttr() 方法从被选元素中移除 ...
確定! 回上一頁