I want to make it where if I press enter in a text box in a form it will exit it, but upon making a onKeyPress event I have realized that I don't think there is a way to prevent default for specific keys that are pressed?
Wondered if anyone knew a way before I resorted to "exploiting" with a JS injection