<script type="text/javascript">
    function keyDown()
    {
        var e=event.srcElement;
      
        if(event.keyCode==13)
        { 
         document.getElementById("btnSearch").focus();
         document.getElementById("btnSearch").click();
        }
    }
    </script>
<asp:TextBox ID="txtGroupName" runat="server" Height="17px" Width="132px" onkeydown="keyDown();"></asp:TextBox>
 <asp:Button ID="btnSearch" runat="server" Text="搜索" OnClick="btnSearch_Click" />

相关文章:

  • 2022-12-23
  • 2021-11-09
  • 2022-12-23
  • 2021-12-13
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-17
猜你喜欢
  • 2021-09-13
  • 2022-01-21
  • 2022-12-23
相关资源
相似解决方案