Amol Brid
Posts: 43
Nickname: amolbrid
Registered: Feb, 2004
|
|
Re: to DOM...
|
Posted: Mar 23, 2005 5:20 AM
|
|
Hi, I have not fully understood your question. But if you mean that why ele is removed from parent1 and is ele valid for GC the read this:
you cannot add a element as a child of two different parents. If you try to do this then the child element is removed from the first parent.
In your case the element refered by ele will be removed from parent1 and added to parent2, but the element refered by ele will not be garbage collected since parent2 refers to it.
Revert back if you don't understand it.
Regards, Amol Brid.
|
|