-
陪伴而非守候
<HTML><HEAD><TITLE> New Document </TITLE><script>function goo(obj){obj.disabled =true;document.getElementById("form1").submit();}</script></HEAD><BODY><form action="1.asp" method="post" id="form1"><input type=button value="提交" onclick="goo(this);"></form></BODY></HTML>
-
墨色风雨
<input type="submit" value="Submit" onclick="disabled=true;submit()" />这样就OK了
-
摇曳的蔷薇
type是reset是不行的,改成button 测试了个例子 <head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><script language="javascript">function check(){alert("HELLO");}</script></head><body><input type="button" onclick="check();" value="按扭" /></body>