该属性用于在元素中添加,移除及切换CSS 类。 classList 属性是只读的,但你可以使用add() 和remove() 方法修改它。 增加:document.getElementById( ...
確定! 回上一頁