//屏蔽回车事件
$(document).keydown(function (e) {
debugger;
var key = window.event ? e.keyCode : e.which;
if (key != undefined && key.toString() == "13"){
return false;
}
});
06-20
1280
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)
09-15
1万+
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)