Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Mel Smith" Newsgroups: comp.lang.javascript Subject: Re: Problem with FF Date: Mon, 11 Jun 2012 08:11:19 -0600 Lines: 36 Message-ID: References: <4fd5d041$0$9526$9b4e6d93@newsspool1.arcor-online.net> <2134143.mvXUDI8C0e@PointedEars.de> <4fd5ee65$0$9514$9b4e6d93@newsspool1.arcor-online.net> X-Trace: individual.net AzcLNc1JSqlts1+BTqd+hwo00YjynQMYxiOkbPVee/HgQecAuV11j1PJzGJJwN3kqt Cancel-Lock: sha1:76njUqpAFo3wYwFhT0xlMSoHTsM= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Xref: csiph.com comp.lang.javascript:14458 Martin said: >>> Well inside the onkeypress attribute's event handler code Mozilla >>> provides you with an "event" object (passed in as an argument) >> >> This appears to be ubiquitous among DOM-supporting browsers (down to >> Netscape 4.0), but I am not aware of a public standard or draft to >> specify >> it. If anything, this feature should become part of the HTML5 Web >> Applications API. > > I think > http://www.w3.org/TR/html5/webappapis.html#event-handler-content-attributes > attempts to covert this: "... > > Using the script execution environment created above, create a function > object (as defined in ECMAScript edition 5 section 13.2 Creating Function > Objects), with: > > Parameter list FormalParameterList > > ... > Otherwise > Let the function have a single argument called event. > > ..." Martin: I'll try that later today. Thank you for the suggestion ! -Mel Smith