<html> <body> <script language="JavaScript"> function function1(evt) { evt = (evt) ? evt : (window.event) ? window.event : ""; x =evt .keyCode; alert("Unicode Value: "+x); } function function2(evt) { evt = (evt) ? evt : (window.event) ? window.event : ""; x = evt .keyCode; alert("Keyboard Value: "+x); } </script> <p>Press Any Key</p> <body onKeyDown="function2(event);" onKeyPress="function1(event);"> </body> </html>
Name (required)
email (will not be published) (required)
Website