• 周一. 6月 24th, 2024

5G编程聚合网

5G时代下一个聚合的编程学习网

热门标签

js监听键盘触发按钮事件,回车提交表单

admin

11月 28, 2021
 /*回车提交表单*/
$(document).keydown(function(event){
 if(event.keyCode == 13){
   //alert('你按下了Enter'); 
     $("#login").click(); //模拟触发botton事件
}
});

《js监听键盘触发按钮事件,回车提交表单》有一个想法
  1. He Got 256,354 Free Views With AI…

    Can you believe it?

    People spend thousands of dollars to get that kind of result…

    My friend Kundan just did it for free…

    He only used his new app… AI ScreenSnap…

    It’s the world’s first AI app that can generate videos with the power of Video-Exclusive AI Engine…

    That can edit, record, and generate videos with just a few clicks… with zero experience…

    Click here now and watch AI ScreenSnap in action https://ext-opp.com/AIScreenSnap

发表回复

您的电子邮箱地址不会被公开。 必填项已用*标注