Keycode Checker Tool – Disable

By Ryan Cooper on Jan 18, 2008


Use this function to disable certain keys. This essentially tells the page to cancel the last event, e.g. the pressing of that certain key.

In this demo, the CAPS LOCK key is disabled. Try to press it.


Source Code

Paste this source code into the designated areas.


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