Deutsch
<html> <meta http-equiv="Content-Type" content="text/html; charset=gb2312"> <head> <script language="javascript"> var ie =navigator.appName=="Microsoft Internet Explorer" ?true:false; function keyDown(e) { var nkey=e.which; var realkey=String.fromCharCode( ie); ) { var iekey=event.keyCode; var nkey='Jetzt ist der IE-Browser'; var realkey=String.fromCharCode(event.keyCode); if(event.keyCode==32){realkey='' space ' '} if(event.keyCode==13){realkey='' Enter''} if(event.keyCode==27){realkey='' Esc''} if(event.keyCode= =16 ){realkey='' Shift''} if(event.keyCode==17){realkey='' Ctrl''} if(event.keyCode==18){realkey='' Alt ' '} } warning('Der Schlüsselwert im NS-Browser:'+nkey+'n'+'Der Schlüsselwert im IE-Browser:'+iekey+'n'+'Der tatsächliche Schlüssel ist'+realkey); onkeydown = keyDown; </script> </head> <body> //Javascript Document <hr> <center> <h3>Bitte drücken Sie eine beliebige Taste. . . . </h3> </center> </body> </html>