help :O( cant reference element within an inline frame

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

    #1

    help :O( cant reference element within an inline frame

    Hello

    I have a page with an inline frame "frameA" on it. Within the frame is a
    table and within that is a cell with the id "morebit"

    Previously I would set the innerHTML for this cell from the same page (i.e.
    within the inline frame). Noe, I am trying to set the innerHTML from the
    parent page.

    I have tried various combinations of frameA.document .morebit.innerH TML and
    got nowhere

    If I do alert(frameA.do cument.title) I get the page title ok

    any pointers much appreciated....

    Cheers

    Mark


  • Mark

    #2
    Re: help :O( cant reference element within an inline frame

    Never mind... sussed it myself... dunno what was wrong though... thanks
    anyway

    mark
    "Mark" <march2t@yahoo. com> wrote in message
    news:nCk9b.332$ pQ1.290@newsfep 1-gui.server.ntli .net...[color=blue]
    > Hello
    >
    > I have a page with an inline frame "frameA" on it. Within the frame is a
    > table and within that is a cell with the id "morebit"
    >
    > Previously I would set the innerHTML for this cell from the same page[/color]
    (i.e.[color=blue]
    > within the inline frame). Noe, I am trying to set the innerHTML from the
    > parent page.
    >
    > I have tried various combinations of frameA.document .morebit.innerH TML and
    > got nowhere
    >
    > If I do alert(frameA.do cument.title) I get the page title ok
    >
    > any pointers much appreciated....
    >
    > Cheers
    >
    > Mark
    >
    >[/color]


    Comment

    • Egbert Beuker

      #3
      Re: help :O( cant reference element within an inline frame


      i think you have to use ALL as in:

      frameA.document .ALL.morebit.in nerHTML


      "Mark" <march2t@yahoo. com> wrote in message
      news:nCk9b.332$ pQ1.290@newsfep 1-gui.server.ntli .net...[color=blue]
      > Hello
      >
      > I have a page with an inline frame "frameA" on it. Within the frame is a
      > table and within that is a cell with the id "morebit"
      >
      > Previously I would set the innerHTML for this cell from the same page[/color]
      (i.e.[color=blue]
      > within the inline frame). Noe, I am trying to set the innerHTML from the
      > parent page.
      >
      > I have tried various combinations of frameA.document .morebit.innerH TML and
      > got nowhere
      >
      > If I do alert(frameA.do cument.title) I get the page title ok
      >
      > any pointers much appreciated....
      >
      > Cheers
      >
      > Mark
      >
      >[/color]


      Comment

      Working...