Changing data in the document from within a frame.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • shoonya
    New Member
    • May 2007
    • 160

    Changing data in the document from within a frame.

    i have a page with a single frame having forms in it
    on one instance i need to write some data on parent page while action has been done in the frame
    so plz guide me how to do this..

    shoonya
    Last edited by pbmods; May 15 '07, 04:13 AM. Reason: Changed the title to better summarize the question.
  • pbmods
    Recognized Expert Expert
    • Apr 2007
    • 5821

    #2
    Moved to the JavaScript forum.

    To change data in a different frame, use the parent object:

    [code=javascript]
    parent['frameName'].document.getEl ementById(....
    [/code]

    For more information, take a look at this article:

    Comment

    Working...