|
-
Sep 27th, 2007, 09:09 AM
#1
Thread Starter
Fanatic Member
Passing a value between 2 frames
Frames A and B. A is the navigation frame and the target is the B frame.
If a value is picked up by the ASP page in 'B', I need it to be passed to the 'A' frame.
Yes I did do a search, but found nothing to help...
Q2- If I have a page with in the same machine I can use the top nav bar to move. But if the site is off the machine and in frame B then it seems to stop the top frame from functioning
TIA guys
Last edited by juliemac; Sep 27th, 2007 at 10:19 AM.
-
Sep 27th, 2007, 10:00 AM
#2
Addicted Member
Re: Passing a value between 2 frames
what do you want to do between two frames.
1) Do you want to pass some form values?
2) or, Do you want to open the link etc?
Do Good. Be Good. The World is yours.
-
Sep 27th, 2007, 10:24 AM
#3
Thread Starter
Fanatic Member
Re: Passing a value between 2 frames
For one, after logging in to the system, refresh the top frame.
<code>
<script language=javascript>
parent.TF.document.location=("tabs.asp")
</script>
</code>
This does not work. is there a frame refresh?
Last edited by juliemac; Sep 27th, 2007 at 10:37 AM.
-
Sep 27th, 2007, 10:47 AM
#4
Addicted Member
Re: Passing a value between 2 frames
try this
Code:
<script language=javascript>
parent.TF.document.location.href ="http:\\www.yahoo.com\tabs.asp"
</script>
Do Good. Be Good. The World is yours.
-
Sep 28th, 2007, 04:18 PM
#5
PowerPoster
Re: Passing a value between 2 frames
or if its an iframe:
<script language="JavaScript">
frames['TF'].location.href = "tabs.asp";
</script>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|