<script language="javascript">
function submitForm(obj){
obj.disabled=true;
document.form1.submit();
}
</script>
<BODY>
<form name="form1" method="post" action="#">
name:<input name="n" id="n" size="20px"/><br/>
<input type="button" name="tj" value="提交" onClick="submitForm(this)">
</form>
</BODY>