jq enter键发送

1 $('.content').keypress(function(e) {
2                 if(e.keyCode === 13) {
3                     //调用接口
4                     return false;
5                 }
6             })

.

posted @ 2018-05-08 09:57  铜镜123  阅读(117)  评论(0编辑  收藏  举报