I want to return keycode 0 when the user enters anything else than a number in a textbox.

I have made a eventhandler, I check the keycode or the which if the navigator is a netscape.

If the ascii code is anything else than a number I set the keycode = 0 in IE, and the which in netscape = 0. This works in IE, why not in Netscape???

Help needed...

/Smirre