IFRAME question

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

    IFRAME question

    I have a page (page A) that has an IFRAME in it. The IFRAME opens a
    page (Page B)that has checkboxes in it. When I click on a box in page
    B , it has an onclick that needs to run a function in Page A. I have
    been trying window.opener.f unction() with not luck. Any ideas?

    Dave
  • Lasse Reichstein Nielsen

    #2
    Re: IFRAME question

    dfetrow410@hotm ail.com (helixpoint) writes:
    [color=blue]
    > I have a page (page A) that has an IFRAME in it. The IFRAME opens a
    > page (Page B)that has checkboxes in it. When I click on a box in page
    > B , it has an onclick that needs to run a function in Page A. I have
    > been trying window.opener.f unction() with not luck. Any ideas?[/color]

    I guess that the function isn't called "function" (a keyword).

    You have *three* pages:
    the outer one, A
    a page in the iframe, you don't name this
    and the page in the openend window, B

    To go from B to A, the path is:
    window.opener.p arent.functionN ame()
    ^itself ^iframe ^outer

    You can read more here:
    <URL:http://www.infimum.dk/HTML/JSwindows.html# ref_2_6>

    /L
    --
    Lasse Reichstein Nielsen - lrn@hotpop.com
    DHTML Death Colors: <URL:http://www.infimum.dk/HTML/rasterTriangleD OM.html>
    'Faith without judgement merely degrades the spirit divine.'

    Comment

    • dddd dddd

      #3
      Re: IFRAME question

      That did not work. Maybe I should go deeper with the facts. Page A was
      opened by showModalDialog



      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...