有时,如果您一次进行更多更改, removeAttribute 似乎不起作用。而是使用 setAttribute 方法,如下所示: document.getElementById('element').setAttribute('style' ...
確定! 回上一頁