1 $(‘.content‘).keypress(function(e) { 2 if(e.keyCode === 13) { 3 //调用接口 4 return false; 5 } 6 })
.
jq enter键发送
原文:https://www.cnblogs.com/1032473245jing/p/9006641.html