Under moderation.
ascendg36ygq
- May 11, 2016, 9:11 a.m.
Under moderation.
ascend6xdovl
- May 1, 2016, 8:05 a.m.
this is the proper solution for the javascript error "WRONG_DOCUMENT_ERR: A Node Is Used In A Different Document Than The One That Created It". Just nest it into your call to cloneNode() or replaceChild() like this:
containernode.replaceChild(document.importNode(node_from_other_doc,true),previousnode);
containernode.replaceChild(document.importNode(node_from_other_doc,true),previousnode);
dlatikay
- Oct. 6, 2011, 2:16 a.m.
Powered by Linode.