Document Object missing in child window

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

    Document Object missing in child window


    I have tried this using both frames and window.open()
    In either case, if the new content comes from a different site than the
    original (or comes from a site and original is a local file) the
    document object is inaccessible. The new window object seems to have no
    document and no all[] or just about anything else useful. If the new
    content came from the same site (or local computer) as the original,
    everything seems to be where it belongs. I have looked all over and can
    find no references to this problem. Is this some security issue that
    everybody but me knows about??
    I am seeing this on IE 6.0.2800.1106. The files are created in notepad
    so there should be no surprises there.
    Help please!
    SPC


    --
    spc
  • Lee

    #2
    Re: Document Object missing in child window

    spc said:[color=blue]
    >
    >
    >I have tried this using both frames and window.open()
    >In either case, if the new content comes from a different site than the
    >original (or comes from a site and original is a local file) the
    >document object is inaccessible. The new window object seems to have no
    >document and no all[] or just about anything else useful. If the new
    >content came from the same site (or local computer) as the original,
    >everything seems to be where it belongs. I have looked all over and can
    >find no references to this problem. Is this some security issue that
    >everybody but me knows about??[/color]

    Yes.
    <http://www.mozilla.org/projects/security/components/same-origin.html>

    Comment

    Working...