easyui 回车
$('#Destination_Code').textbox('textbox').bind('keypress', function (e) { if (e.keyCode == 13) { } }
普通回车
<html xmlns="http://www.w3.org/1999/xhtml" > <head> <title>Check Score</title> <script language="JavaScript"> function ddd(event){ console.log(event.keyCode); } </script> </head> <body > <input id="input1" value="登录" type="text" onkeypress="ddd(event)"> </body> </html> a