$("#targetInput").keypress(function(e){
if(e.keyCode==13) {
doSearch();
}
});
$("#targetInput").keypress(function(e){
if(e.keyCode==13) {
doSearch();
}
});
本文标题:js jquery input 支持 回车 enter 搜索
本文链接:https://www.haomeiwen.com/subject/abecuctx.html
网友评论