document.getElementById('ID').remove()
var elem = document.getElementById(id); elem.parentNode.removeChild(elem);