CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 1999
    Location
    MD, USA
    Posts
    169

    Access to page within a frame

    I have the foll scenario:
    a frameset (call it frame_top) that has 2 frames:
    a.asp
    b.asp
    clicking a button a.asp submits the page to the same page which then redirects based on the action to another frameset page (call it frame_container) that again has two frames.
    So now I have a frameset that in one fo the frame pages has another frameset that has 2 frames.
    I want to access the elements in the top frame i.e. frame_top
    fom one of the pages in frame_container

    is that possible?
    I have tried the foll:

    1)parent.parent.frame_name_in_top_frame.document.form_name_in_top_frame.bid.value

    2)parent.top..frame_name_in_top_frame.document.form_name_in_top_frame.bid.value


    BUT nothing seems to work..

    Any help on this would be greatly appreciated..

    Thanks in advance!

  2. #2
    Join Date
    Aug 2002
    Location
    Reykjavik, Iceland
    Posts
    201
    Did you try

    top.frame_name_in_top_frame.document.form_name_in_top_frame.bid.value

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

Featured