晕,这个要做什么呀
不过是可以实现的.
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head><body>
<script language='javascript'>
   function disabled1(myform)
   {
     alert();     myform.T1.disabled =true;
     myform.T2.disabled =true;
     myform.B2.disabled = true;  
   }
</script>
<form method="POST" action="--WEBBOT-SELF--" name="myform">
   <p><input type="text" name="T1" size="20" ></p>
  <p><input type="text" name="T2" size="20"></p>
  <p><input type="button" value="提交" name="B1" onclick="disabled1(myform)">
<input type="reset" value="全部重写" name="B2"></p>
</form></body></html>