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!

calls another page loading to the same frame

Status
Not open for further replies.

royyan

Programmer
Jul 18, 2001
148
US
I am trying to use javascript to call another page in the same file folder, and load it to the same frame. Please advise what is the best way to do that. Thanks!
 
What have you tried so far? My initial suggestion would be:

Code:
this.location = "newPage.html";

Have you tried this already? If so, what was the result?

--Dave
 
I have file which include cross referrence pointing to another page. The current file uses "<a href='javascript:parent.nav.openpage(41)'>Page 41</a>" to open file.
But in my new reloaded page, we discard the navigation part in parent frame.
What I want to do is replacing the javascript part with correct javascript which can call the page in same frame. And also use current openpage(41) part.
Any suggestions?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top