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

 

相关文章:

  • 2021-11-11
  • 2021-06-02
  • 2022-12-23
  • 2022-01-19
  • 2021-09-30
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
  • 2021-12-05
  • 2021-09-20
相关资源
相似解决方案