我們給DOM 輸入元素賦予 id 屬性,然後用 document.getElementById(id_name) 來選擇DOM 輸入元素,你可以直接使用 value 屬性。 例子. HTML. htmlCopy <!
確定! 回上一頁