Remove an Element from the page, safely
To remove an html element (including all child elements) from the pages body, we need to call the 'removeChild' DOM function. But to do this, we need to work from the parent object of the element to remove. function removeTheNode(id) {
|