[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:


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


More information about the Greasemonkey mailing list