editing another DOM document

Ira Polubesova <[email protected]> Fri, 18 Apr 2003 08:10:27 -0700 (PDT)
Newsgroups gmane.comp.web.dom.test-suites.general
Message-ID <[email protected]>
Hello!
I've encountered the following problem:
I would like to open an existing html document using
javascript:
newDoc = window.open("myExistingDocument.html");

and to access and edit its own elements.
Like, when I am able to do
document.getElementById('myId').appendChild - 
which means editing the current document which holds
the script - I also want to do :
newDoc.document getElementbyId...,
that is to edit another html document different of the
one which contains the script, and to append info
THERE.
How is it possible to do?
Sincerely, Ira.


__________________________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
http://search.yahoo.com