I am using the following method to detect keypresses on a page. My plan is to detect when the Escape key is pressed and run a method if so. For the moment I am just attempti
keydown and keyup seem to work: http://embed.plnkr.co/VLajGbWhbaUhCy3xss8l/