W3C home > Mailing lists > Public > www-dom-ts@w3.org > April 2003

editing another DOM document

From: Ira Polubesova <polubes@yahoo.com>
Date: Fri, 18 Apr 2003 08:10:27 -0700 (PDT)
Message-ID: <20030418151027.91853.qmail@web41305.mail.yahoo.com>
To: www-dom-ts@w3.org

I've encountered the following problem:
I would like to open an existing html document using
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
How is it possible to do?
Sincerely, Ira.

Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo
Received on Friday, 18 April 2003 11:11:08 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:34:06 UTC