You need to cancel the action.
event.preventDefault(); BUT I believe you can only kill the form submission with keydown, not key up.
You need to cancel the action.
event.preventDefault(); BUT I believe you can only kill the form submission with keydown, not key up.