<html><head><meta httpequiv="ContentType" content="text/html; charset=utf" /><title>表单提交后按钮禁用</title><script type="text/javascript">function sub() {documentforms[]elements[]disabled = true;documentforms[]submit();}</script></head><body><form action="loginaction" method="post"><input type="button" name="btn" value="提交表单" onclick="return sub();" /></form></body></html>
表单提交后提交按钮不可用