I most likely just made a stupid error somewhere, but i cant find it...
document.onKeydown = keyHit();
key = window.event.keyCode;
document.write("You pressed Keycode " + key + "<BR><BR>");
might someone tell me what is wrong with it? i run internet explorer