:: Forum >>

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
Monday, October 13, 2008

This topic is archived.


Back to support forum

Forum search