ciao a tutti..
ecco il mio problema: su IE8, questo codice non mi funziona. Se invece del doctype strict uso il doctype transitional mi funziona.
su firefox va benone, e anche su IE7, ma non su IE 8.codice:<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> </head> <body> <script type="text/javascript"> if(window.Event) //modello standard vs modello IE... window.onkeydown = commands; else document.onkeydown = commands; function commands(e){ e = (!e) ? window.event : e; var tasto = (e.which != null) ? e.which : e.keyCode; alert(tasto); } </script> </body> </html>
Mi sapete aiutare?
grazie!

Rispondi quotando
con IE8 hanno raggiunto l' apoteosi del delirio informatico
me lo puoi spiegare però? 
