473,405 Members | 2,160 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,405 software developers and data experts.

Document Object missing in child window

spc

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
Jul 23 '05 #1
1 1135
Lee
spc said:


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??


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

Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Richard Bell | last post by:
I would like to open a 'child' window win and check it's ready state. Unfortunately, when I try to do so, I discover that win.document does not appear accessable from the parent window, see below....
3
by: Gretjns | last post by:
I'm trying to figure out this script doesn't display any text in the child window and why I'm getting the null or not an object error. It's taken directly from the Javascript and DHTML cookbook...
26
by: Dave Hammond | last post by:
In document "A.html" I have defined a function and within the document body have included an IFRAME element who's source is document "B.html". In document "B.html" I am trying to call the function...
136
by: Matt Kruse | last post by:
http://www.JavascriptToolbox.com/bestpractices/ I started writing this up as a guide for some people who were looking for general tips on how to do things the 'right way' with Javascript. Their...
2
by: Hai Ly Hoang | last post by:
My application is an MDI. It has an MDI window (main window). Now, I want to create a nother MDI window CMDIFrameWnd *main = new CMDIFrameWnd(); main->LoadFrame(IDR_ANALYSE, WS_OVERLAPPEDWINDOW...
3
by: Peter W Johnson | last post by:
Hi Guys, I have a small program that uses parent and child mdi windows. The program loads with the parent window click on the main menu to open a child window On the child window click on a...
20
by: weston | last post by:
I've got a piece of code where, for all the world, it looks like this fails in IE 6: hometab = document.getElementById('hometab'); but this succeeds: hometabemt =...
7
by: samelzoro | last post by:
here is a problem in recursion: unexpected result ? by this program I just want to convert xml dom's document object to xml-string. (for all browsers) //load a xml function...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.