Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Append a node to a node that is created by different Document

Status
Not open for further replies.

klwong

Programmer
Dec 7, 2001
14
0
0
HK
I have a Node object
and want to use appendChild(Node node) to append another Node which is created by another Document as a child of the previous node. Surely this throws WRONG_DOCUMENT_ERR.
but how can I do so ?
 
You're being super un-specific, could you please give us some code?
 
oh.. I've solved it..
by Document.importNode(Node, boolean)
Thx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top