[jQuery] Re: Remove() xml nodes doesnt work in ie

2008-11-05 Thread ngjgf
Yeah seems its a bug, http://dev.jquery.com/ticket/3521 As a work around I just used removeChild. For example: var elementToRemove = $(this.xmlDoc).find("gd > cd > uid"); elementToRemove .parentNode.removeChild(elementToRemove );

[jQuery] Re: Remove() xml nodes doesnt work in ie

2008-11-04 Thread alexalcan
I also have this problem, but also in xhtml documents. I recently ignored the problem since I could simple replace it with an appendTo(), but I now must completely remove the object (a div) and can't do it in IE.

[jQuery] Re: Remove() xml nodes doesnt work in ie

2008-11-04 Thread ngjgf
Here is some example code, and a test case for which it fails in ie. (Latest version of jquery, 1.26) //Xml Parser object var xmlParser = { xmlDoc : null, //Loads the xml string into a xml doc loadFromDb : function(xmlString) { if(window.ActiveXObje