📅  最后修改于: 2022-03-11 15:01:43.835000             🧑  作者: Mango
function removeElement(elementId) {
// Removes an element from the document.
var element = document. getElementById(elementId);
element. parentNode. removeChild(element);
}