I have a javascript window.open popup, and I want to prevent popup from getting close by itself when the user presses the ESC key. I can’t figure out how to hook the keydown event (and on what object?) so that I can catch the ESC key.
Please help me out!.
1 Answer