function from frameset

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Andrew Poulos

    function from frameset

    I have a function in a page in a frame. At the frameset I want to
    replace the body of the function in the page with new content. How do I
    refer to a function in a page in a frame from the frameset?

    Andrew Poulos
  • Martin Honnen

    #2
    Re: function from frameset

    Andrew Poulos wrote:
    I have a function in a page in a frame. At the frameset I want to
    replace the body of the function in the page with new content. How do I
    refer to a function in a page in a frame from the frameset?
    window.frames.f rameName.functi onName

    --

    Martin Honnen

    Comment

    • SAM

      #3
      Re: function from frameset

      Andrew Poulos a écrit :
      I have a function in a page in a frame. At the frameset I want to
      replace the body of the function in the page with new content. How do I
      refer to a function in a page in a frame from the frameset?
      To fire a function of a page in a named frame (ie: 'myFrame')

      parent.myFrame. myFunction();

      would work from any frame (and main page too)

      If the frame is a child of another one :

      top.myFrame.myF unction();


      Now, to change the content of a function I don't know how to do.

      --
      sm

      Comment

      Working...