티스토리 뷰

Removes the current element with or without its children from the document tree.

If you want to remove an element with its children, use the cross-browser removeChild method instead.

 

따라서 브라우저별로 다르게 적용

InternetExplorer 브라우져

document.getElementById("li_humc_delivery").removeNode(true);

 

Chrome 브라우져

document.getElementById("li_humc_delivery").parentNode.removeChild(document.getElementById("li_humc_delivery"));