I have a RadNumericTextBox with the OnKeyPress client event set to test for the enter key. If the Enter key is pressed, I'd like to change the event to do as if the Tab key was pressed.
Here is the Javascript:
Is there a way to set the keyCode and switch the event from pressing Enter to pressing Tab?
Thanks
Here is the Javascript:
function
testForEnter(sender, args) {
if
(event.keyCode == 13) {
event.keyCode=9;
}
}
Is there a way to set the keyCode and switch the event from pressing Enter to pressing Tab?
Thanks