4.6 刪除節點、屬性

.remove()

透過 .remove() 刪除元素節點。

例:

.removeAttribute()

透過 .removeAttribute() 移除屬性。

例:

Last updated