為 .classname. 所以如果有多個class ,只會修改第一個; 想指定的話則使用多個選取,然後用陣列. var el1 = document.getElementById('id1'); // 可以讓程式碼簡短, ...
確定! 回上一頁