Hi, I am trying to write a KeyPress event that prevents certain keys from being accepted. The code I have works within Netscape but doesn't within IE.<br><br> function keyPress(evnt) { <br> return (String.fromCharCode(evnt.which)!='¦')<br> }<br><br> <INPUT type="text"..onKeyPress="keyPress(event)"><br><br>The problem is that the "event" variable does not seem to set the which "value" in IE, but does in Netscape?? I have checked it and it says it is undefined, but the type is ok?<br><br>Anyone got any ideas??<br><br>