一个聊天室的简单例子,输入文字后,每次必须得用鼠标点发送按钮,文字才发送出去。代码如下:<Asp:Button id="Button1" Text="发 送"
     OnClick="Button1_Click" runat="Server"/>怎么改成一按回车就发送出去呢?