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

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
Received on Friday, 18 April 2003 11:11:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 6 April 2009 12:58:47 GMT