Keycode Checker Tool | JavaScriptSource

Keycode Checker Tool

Ryan Cooper Jan 11, 2008

General

Use this script to determine the JavaScript key code of a selected key. Just press a key and an alert box will display the corresponding keycode.


Click to see it in action!

Notes

Source Code

Paste this source code into the designated areas.

Head

Paste this code into the HEAD section of your HTML document.


Leave a Response

(3 comments)

That's just for demo purposes. It's not part of the actual code.

Lee Underwood Jan 29, 2008

Nice Code snippet...[br /]is there ne way to find the keycode of double key say for example shift+3 or cntrl+k

Raju Jan 21, 2008

The pop-up Alert with KeyCode works fine,[br /][Close Window] button only works on the web site:[br /]http://javascript.internet.com/snippets/keycode-checker-tool.html[br /]NOT from the copied Source Code[br /]What is missing?[br /]2008-01-19 09:24:10

mark Jan 19, 2008