Re: SVGT 1.2: "evt" vs "event" as the implicit event argument to event handlers

Sigurd Lerstad wrote:
> Isn't 'event' a property of the global window object

This is the case in IE/Windows.  In some other UAs, HTML event handler 
attributes are converted into functions to which the event object is passed as 
the argument named "event".

So for example, in HTML:

   <body onload="alert(event)">

vs.

   <body onload="alert(window.event)">

I suggest trying both in various UAs to get a feel for what's going on.

-Boris

Received on Monday, 24 April 2006 17:55:06 UTC