Yep, I know that window.event is IE only. See, I think, the problem with your version of the function is that if it's assigned within a form like so: "<INPUT type="button" onclick="enterPressed(event)">, it will work in IE because after a series of lookups in the scope chain, it will eventually...