如何用JS選擇DOM元素? getElementById. getElementById() 方法可返回對指定 ID 的第一個對象的引用。 document.getElementById(id)
確定! 回上一頁