3.2.0

Problems with onkeypress in FF

document.onkeypress = doKey;
    function doKey(e) {
       if (event.keyCode==13) {
          alert(event.keyCode) ;
       }
    }


The IE will open an alert box with the pressed key number, but the ff doesn't show any reaction when enter is pressed.

Is there a bug or a work arround ?
Christopher Arthur
October 13,

This topic is archived.

See also:


Back to support forum