Simulating clicks on the DOM node of the GMAIL page.

stony_dreams <[email protected]>
Newsgroups gmane.comp.mozilla.devel.dom
Organization http://groups.google.com
Message-ID <b0178c68-392a-45fe-b542-845bb2160eba@z17g2000hsg.googlegroups.com>
Hello:

I want to simulate click events on the elements on the Gmail page.
Problem is, i am able to simulate it on the elements on the side bar
(viz. compose mail, inbox, etc) but was not able to use the same
function for the actual emails.

I suspected this to be a security issue as when i do a createEvent(),
it should correspond to the document object of the container frame.
But this also did not work. Sometimes, the page just hangs when my
simulate click function is called. I am not sure whether gmail is
doing somethin fishy... Can anybody shed some light?

I used the normal click function on the mozilla examples page:
http://developer.mozilla.org/en/docs/DOM:document.createEvent and i am
sure that i am calling this function on the exact element on the DOM,
which i confirmed using the DOM inspector.

Thanks in advance...
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.