使用JS 修改input 的 value 值为10 ,但是打印出来还是之前的1 。 var inp = document.getElementById("inp"); inp.value=10; console.log(inp); ...
確定! 回上一頁