Key Code List
Displays key codes when keys are pressed
by DoomHamster
HTML
<strong class="no-init">NOT INITIALIZED - click here.</strong>
<ul id="codes"></ul>
CSS
.no-init{color:red;}
.init{color:green;}
JavaScript
$(document).keydown(function(e){
$('#codes').append($('<li>').html(e.which));
}).click(function(){
$('.no-init').removeClass('no-init').addClass('init').html('INITIALIZED - press keys to see the codes.');
});