Results 1 to 5 of 5

Thread: Passing a value between 2 frames

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Up State NY
    Posts
    525

    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.

  2. #2
    Addicted Member
    Join Date
    Aug 2007
    Location
    India
    Posts
    141

    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.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2005
    Location
    Up State NY
    Posts
    525

    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.

  4. #4
    Addicted Member
    Join Date
    Aug 2007
    Location
    India
    Posts
    141

    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.

  5. #5
    PowerPoster
    Join Date
    May 2006
    Posts
    2,988

    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
  •  



Click Here to Expand Forum to Full Width