<script type="text/javascript"> $(‘#<%=txtKeyWord.ClientID %>‘).focus(); $("#<%=txtKeyWord.ClientID %>").bind("keydown", function(event) { if (event.keyCode == 13) { $(‘#<%=btnSearch.ClientID %>‘).click(); return false; } }); </script>
时间: 2024-11-05 22:51:28