To add a class to an element, without removing/affecting existing values, append a space and the new classname, like so: document.getElementById("MyElement").
確定! 回上一頁