<Script Language="JavaScript">
  <!--
    function SendMsg() {
      TheForm.submit();
      TheForm.Msg.value="";
    }
  -->
</Script>
<Form Action="" Method="Post" Name="TheForm">
<Input Type="Text" Id="Msg">
<Input Type=Button Value="发言" OnClick="SendMsg()">
</Form>