$("body").keydown(function(e){ var curKey = e.which; if(curKey == 13){ $("#Btn_login").click(); } });
Btn_login//button的ID