登录Form:
9 <div> 11 <button id="loginSubmit" type="button" class="login_btn ">登录</button> 12 </div>
JS:
1 <script> 2 $(function () { 4 $(document).keydown(function (e) { 5 if (e.keyCode === 13) { 7 window.location.href = ‘XXXXX.html‘;17 } 18 }); 36 }); 38 </script>
时间: 2024-10-28 11:26:20