在JavaScript 中,使用元素的removeAttribute() 方法可以删除指定的属性。用法如下:. removeAttribute(name). 参数name 表示元素的属性名。
確定! 回上一頁