jQuery回車イベントenter使用例
eg:
// enter,
$("#txtLoginPwd").keydown(function (e) {
if (e.which == 13) {
UserLogin();
}
});
注意:「keydown」であって、「keydowres」ではありません。