When an element is removed from the DOM using removeChild(), the reference to the element still exist but the element is no more in the DOM.
How to know if an HTML element (or its parents) is still attached to a document ?
When an element is removed from the DOM using removeChild() , the reference to
Share
From http://code.google.com/p/doctype-mirror/wiki/ArticleNodeContains:
I only tested in Opera though.
There are alternatives on that page too.