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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.