<input type="text" id="SO_ID_S" size="15" οnkeydοwn="if (window.event.keyCode==13) clickQuery();"/> //回车事件 unction clickQuery(){ $('butQuery').click(); 本文转载自 http://www.itjianghu.net/120108/40916441851851970.htm 转载于:https://blog.51cto.com/3595505/761596