Patil Posted December 4, 2007 Share Posted December 4, 2007 Hi, I have one web page in that after clicking the image it is opening the another page. In that page they defined the javascript that is onclick event has used in the code. I am unable get reference to that image. Once i click on the image it is opening the another page. i can use the mouse clicks to open the page but i can not perform other operation in that page using the mouse clicks. operations like to get a object name and id etc. Because i didn't get any reference to that page...... Thanks........... Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted December 5, 2007 Moderators Share Posted December 5, 2007 You need to provide more information for anyone to help. Try providing the web page link or source, and your current script. Maybe this is what you need? $o_object.fireEvent ("onclick") Link to comment Share on other sites More sharing options...
Patil Posted December 10, 2007 Author Share Posted December 10, 2007 You need to provide more information for anyone to help. Try providing the web page link or source, and your current script. Maybe this is what you need? $o_object.fireEvent ("onclick")Hi, Sorry for incomplete info in the post... I have one web page in that after clicking the image it is opening the another(Second)page. For opening the page they defined javascript that is onclick event has used in the code. when we click on the image it will call javascript and open the new (Second)page. I am unable get reference to that image. To do some other operation like to get object variable by name or id. For that i need object reference. ? How can i get the reference for the second page or how can i do the operation like to get object variable by name or id. Thanks........... Link to comment Share on other sites More sharing options...
RobMac Posted December 10, 2007 Share Posted December 10, 2007 I have a similar (possibly the same - I can't tell) question. How do I get the text/reference that shows up after onclick. For example in my case this is an image and to access the image source I can use "$oImg.src" but when I try "$oImg.onclick" I dont get anything. How do I simply access / read / get the text apearing after this control. Here is the HTML I am working with: <IMG title="Open this entry" style="CURSOR: pointer" onclick="jump('e20071001', 'A21*', 'xml')" src="images/plus.png"> Thanks in advance. -Rob Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted December 14, 2007 Moderators Share Posted December 14, 2007 @Patil - I don't have time to look for or create a page that I can base an example off of. You need to provide a link or the source of the page in question before I can help. @RobMac - Try the following... _IEImgClick ( $oIE, "images/plus.png") Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now