[whatwg] Mechanism to find available events
Biju
bijumaillist at gmail.com
Mon Sep 20 20:50:07 PDT 2010
On Mon, Sep 20, 2010 at 11:37 PM, Jonas Sicking <jonas at sicking.cc> wrote:
>
> if (onhashchange in document.body) {
> ...
> }
assuming
if ('onhashchange' in document.body) {
That should solve one issue, but Firefox is not doing that for all events,
example:- 'onbeforeunload' in window ===> gives false
also there is no way to discover the all the available events for a node.
More information about the whatwg
mailing list