<html> <body> <form action="login.action" method="post"> <input type="button" name="btn" value="提交表單" onclick="return sub();" /> </form> </body> </html> 表單提交後,提交按鈕不可用