Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #14458

Re: Problem with FF

From "Mel Smith" <med_cutout_syntel@aol.com>
Newsgroups comp.lang.javascript
Subject Re: Problem with FF
Date 2012-06-11 08:11 -0600
Message-ID <a3mckdFb3nU1@mid.individual.net> (permalink)
References (1 earlier) <RtidnaVa6vEWvkjSnZ2dnUVZ_jCdnZ2d@westnet.com.au> <a3l6agFkvqU1@mid.individual.net> <4fd5d041$0$9526$9b4e6d93@newsspool1.arcor-online.net> <2134143.mvXUDI8C0e@PointedEars.de> <4fd5ee65$0$9514$9b4e6d93@newsspool1.arcor-online.net>

Show all headers | View raw


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

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problem with FF "Mel Smith" <med_cutout_syntel@aol.com> - 2012-06-10 13:31 -0600
  Re: Problem with FF Andrew Poulos <ap_prog@hotmail.com> - 2012-06-11 08:45 +1000
    Re: Problem with FF "Mel Smith" <med_cutout_syntel@aol.com> - 2012-06-10 21:17 -0600
      Re: Problem with FF Gene Wirchenko <genew@ocis.net> - 2012-06-10 21:12 -0700
      Re: Problem with FF Martin Honnen <mahotrash@yahoo.de> - 2012-06-11 13:02 +0200
        Re: Problem with FF Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-06-11 13:28 +0200
          Re: Problem with FF Martin Honnen <mahotrash@yahoo.de> - 2012-06-11 15:11 +0200
            Re: Problem with FF "Mel Smith" <med_cutout_syntel@aol.com> - 2012-06-11 08:11 -0600
              Re: Problem with FF "Mel Smith" <med_cutout_syntel@aol.com> - 2012-06-11 08:33 -0600
    Re: Problem with FF Dr J R Stockton <reply1224@merlyn.demon.co.uk.not.invalid> - 2012-06-11 18:32 +0100

csiph-web