alternative for .click() method in firefox
- by script programmer
I have a href from that i am giving out a popup , and i want to activate this on my body overload . I am using "document.getElementbyId("myelement").click()" this is working fine in IE but FireFox is not supporting it. And i know that .click() will not be taken by firefox , but i dont have any other way to do it.
Can u please suggest me with a workaround that will be accepted by IE as well as FF.
Thanks in advance.