Re: No events are of type Event

The ones listed as Event are in fact UIEvent if the source of the event was
the user interface. In the case that the event occurs from another source
(e.g., an error event from, say, script execution) then it just takes on the
Event interface. This is the case for error, load, unload, and select.
Though, admittedly I can't come up with a scenario where select originates
from something other than UI.

Perhaps, the table should list both UIEvent and Event as the interfaces. Or
perhaps just the most common case, which for many of these would be UIEvent
rather than Event.

--Jacob

Received on Monday, 1 March 2010 19:22:09 UTC