[Greasemonkey] Re: dispatchEvent creates an error

Mark Pilgrim pilgrim at gmail.com
Tue Aug 23 11:27:37 EDT 2005


On 8/23/05, Andre <gm at andrecgn.de> wrote:
> right, but the link in my original mail points to an example:
> http://www.mozilla.org/docs/dom/domref/dom_el_ref36.html#1028419
> 
> Example:
>         b = document.getElementById("button1");
>         res = b.dispatchEvent("click");

Wow, by an amazing coincidence, I was researching this exact question
last night.  Here is the most helpful link I found:

http://lists.evolt.org/archive/Week-of-Mon-20040301/156228.html

Basically, the Mozilla documentation is simply wrong.  Like wildly wrong.

-- 
Cheers,
-Mark


More information about the Greasemonkey mailing list