JQuery enter USES the example
- 2020-03-30 01:44:16
- OfStack
Eg:
Note: "keydown" instead of "keypress"
//Click enter to log in the user
$("#txtLoginPwd").keydown(function (e) {
if (e.which == 13) {
UserLogin();
}
});
Note: "keydown" instead of "keypress"