Do not access className from the style object, access it directly like this.className. document.querySelector('button').onclick = function() ...
確定! 回上一頁