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 );
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.
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
3 matches
Mail list logo