javascript have hotkey activate function but not print character
I have an online program that uses 'n' or 'y' as a hotkey. The problem is, after 'y' or 'n' is pressed, a function runs that brings up a textbox and focus()'es the cursor onto it. In the textbox appears the 'n' or 'y' - How do I avoid this problem?
|