The removeNode method removes the specified object from the document hierarchy. The removeNode method is accessible at run time. If elements are removed at run time, before the closing tag is parsed, areas of the document might not render.
Optional. A Boolean parameter that specifies one of the following values:
- Default. The childNodes collection of the object is not removed.
- The childNodes collection of the object is removed.
Returns a reference to the removed object.