Re: Simulating clicks on the DOM node of the GMAIL page.
Boris Zbarsky <[email protected]>
| Newsgroups | gmane.comp.mozilla.devel.dom |
|---|---|
| Message-ID | <[email protected]> |
Amit Saurav wrote: > Whenever I call the dispatchEvent on the <a> tag, my click is > simulated as expected. But when i call the dispatchEvent on the <span> > tag, the link is not followed. Following the link is done by a click handler on the <a>. If the event is fired on some ancestor of the <a>, the <a> will never see it. -Boris