You can reset the form with: document.getElementById("myForm").reset(); instead of this: document.getElementById("txtField").onclick = reset(); ...
確定! 回上一頁