Here's a quick one! To add or remove a single class on an element you can use element.classList.add()... Tagged with javascript, codenewbie.
確定! 回上一頁