Subj : Re: No window.event ? How to handle onKeyPress To : Sam Hulick From : Brendan Eich Date : Wed Feb 05 2003 09:23 pm Sam Hulick wrote: >Mozilla has no window.event, > Nor does any w3c-standard-compliant DOM implementation. Don't confuse IE-isms with what's right. > so I can't use window.event.keyCode to grab the >key pressed, when called via an element's onKeyPress. > Just use event.keyCode. The event name refers to the formal parameter of every event handler, not to some cruddy global window.event pigeon-hole. /be > >How is this done in Mozilla? Thanks > >-- >Sam Hulick >Designer/Developer >HitNet >http://www.hitnet.com/ > > > > > .