I tried this way, but don't work.
in current document, first get the node
then, import the node to the other target document, and append it,
IE6 reports the method importNode() not supported. Is there any other way? thanks
in current document, first get the node
Code:
var aNode = document.getElementById("anode");
Code:
newNode = targetdocument.importNode(aNode); targetdocument.body.appendChild(newNode);
Comment