Hi all,
I recently discovered that in IE, when I remove a node from the document
via removeChild, the removed node retains a parentNode, but the
parentNode has no tagName and it has no parentNode. Here's something to
illustrate my point:
<div id="d1"></div>
<script type="text/javascript">
div1 = document.getElementById('d1');
div1.parentNode.removeChild(div1);
alert(div1.parentNode);
alert(div1.parentNode.tagName);
alert(div1.parentNode.parentNode);
</script>
FF behaves differently (as do other browsers I've tested). I haven't
been able to find any documentation explaining this behavior or any
explanation for it. Does anyone here know where I might find more
information about this?
Thanks,
mata_goliat
In the Seattle WA area and an IT professional? Join SWIPA!
SWIPA - Seattle Washington Internet Professionals Association
<http://tech.groups.yahoo.com/group/swipa/ <../../../../swipa/> >
[Non-text portions of this message have been removed]
.