Jquery屏蔽回车键

1 $(function(){
2
3 $(“#tagForm input”).keypress(
4
5 function(event){
6
7 if(event.keyCode == 13){
8
9 return false;
10
11 }
12
13 });
14
15 })
原文地址:https://www.cnblogs.com/pfs1314/p/2020706.html