Unicode of the key pressed
<html> <head> <script type="text/javascript"> function whichButton(event){ alert(event.keyCode) } </script> </head> <body onkeyup="whichButton(event)"> <p>Press a key on your keyboard. </p> </body> </html>