document.forms['login'] 通过表单的id属性获取表单. <script> //form console.log(document.forms); // <form action="" name="hello" id="login"> ...
確定! 回上一頁