Tuesday 9 July 2013

Keycode Checker Tool

To Know the Keycode of keyboard paste the below code in head section of your html page


document.onkeydown = checkKeycode

function checkKeycode(e) {
var keycode;
if (window.event) keycode = window.event.keyCode;
else if (e) keycode = e.which;
alert("keycode: " + keycode);
}


Keycode Checker Tool

No comments:

Post a Comment