Sign in to follow this  
Followers 0
Kidney

Changing an href link target??

2 posts in this topic

So I am having the issue of when I use autoit to click on an IE link, it opens it in a new tab instead of just navigating to the page.

The only reason I can think of is that the target for the links are different. here is a picture of what im talking about.

post-65938-0-64969700-1386387075_thumb.j

 

so the first link has a target of fra_main and the second link has the target of fra_Main.

This is the only difference between the two.

Also, the frame name is fra_Main on the site so im assuming that there is some type of error which is making it go to a new page.

 

So is there a way to change the target from fra_main to fra_Main??

Share this post


Link to post
Share on other sites



$oIE.document.getElementById("a_p5429_26615").setAttribute("target","fra_Main")

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0