This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes How to detect escape key press in browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to detect escape key press in browser" Watch "How to detect escape key press in browser" New topic
Author

How to detect escape key press in browser

Shashank Agarwalg
Ranch Hand

Joined: Mar 03, 2010
Posts: 110

How to detect escape key press in Browsers with javascript or jquery ?


Trying to win the world.....................
SCJP 6.0 , SCWCD/OCPJWCD 5, BlackBerry Developer
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
hints: boyd, keypress, and keyCode

Eric
Eswar Nec
Ranch Hand

Joined: May 02, 2010
Posts: 105
Try this


Wake up! Don't let your smile be snatched away by anybody!
Regards, Eswar
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to detect escape key press in browser
 
Similar Threads
Detecting Key Presses in Windows (without focus)
Detecting Key Presses in Windows (without focus)
Text Area Formatting
how to detect game action in game loop?
How to find the ASCII value of any key I press from Keyboard(specially Escape,F1,etc.)