5 replies
by geoffreyc
Make sure you name the frame:
In the JavaScript use:
parent.myTop.location='Second.html';
You can use this in
The first location is for if you are calling from a different frame, and should be set to the original content if you want to keep it there.
You can use it in the same way in a
by amd_ghouse
by cedric king
You don't need to change the Src value in the frame tag. You can just direct the desired page into the desired frame by pointing to it just like an element. With Javascript, write the following and runs it when you want to change the Src :
document.FrameName.location = "Desired.html"
by amd_ghouse
by amd_ghouse
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending