2 Oct 2007 14:19
Node cannot be used in a document other than the one in which it was created?
Jens Ansorg <jens <at> ja-web.de>
2007-10-02 12:19:44 GMT
2007-10-02 12:19:44 GMT
hi, I hope this is the appropriate group otherwise please set a fitting follow-up. Firefox3 has tightened security when dealing with different DOMs in the browser as I just figured out. I have a page (A) that loads another XHTML document (B) via XMLHTTPRequest. After load the request.responseXML holds my xhtml document (B). I pick a certain node out of this document (newData) and insert it into the page (placeholder), like "placeholder.parentNode.replaceChild(newData, placeholder);" This does work in Firefox 2 but throws the error in the subject in Firefox 3 nightly. Now, I do understand that there is tightened security and the behavior is probably right. My Question is now: is there another way to achieve what I'm currently doing? How can I get parts of (B) into (A)? thanks Jens
RSS Feed