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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change URL of different frame

Status
Not open for further replies.

MikeT

IS-IT--Management
Feb 1, 2001
376
US
I have a javascript function that I want to be able to change the location of a frame in my frameset. I think its something like
document.frames.mytargetframe.location='newpage.htm';

But it doesn't work...am I close?

Thanks!
 
parent.frames[2].document.location='newpage.htm';
 
yeah, right
or else top.frames.mytargetframe.location='newpage.htm';


regards, vic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top