Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2045
How to catch Enter key
posted

I want to save data entered when user hit Enter key. If I use TextChanged or ValueChanged it fired after every key.

I have KetPress event and client function:

function Editor_KeyPress(sender, e) {

//Gets the code of the key that is raising the event
var keyCode = e.get_keyCode();

alert(keyCode);

}

It does not fire on enter key.

Parents Reply Children