classList.add('red'); // class="description red" ... but if you want something that already exists, you can use classList.js by Eli Grey.
確定! 回上一頁