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
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?
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?
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>
Re: Passing a value between 2 frames
or if its an iframe:
<script language="JavaScript">
frames['TF'].location.href = "tabs.asp";
</script>