透過 .remove() 刪除元素節點。
.remove()
例:
透過 .removeAttribute() 移除屬性。
.removeAttribute()
Last updated 3 years ago