Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Links and Frames lists in IE5

Status
Not open for further replies.

yarono

Programmer
Feb 12, 2002
5
IL
I'm trying to simulate a click on a link which is located in a frame.
I'm using vbscript. The Link doesn't have an ID nor Name attributes. Below u can c 3 lines of code which does the same thing and they r all work with IE5.5 and IE6.0 but do not work with IE5:
doc.frames(1).document.links(3).click()
doc.frames.item("content").document.links(3).click()
doc.Frames("content").document.links(3).click()

The problem with IE5 is that it gives error each time I'm using somekind of list, like Frames(index) and Links(index).
I succeeded to bypass the Frames list by referencing directly the frame name : doc.all.content.document but then I get stuck bypassing the link list.
Please help me.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top