您的位置: 首页 > IT文章 > js 删除本身节点元素 js 删除本身节点元素 分类: IT文章 • 2023-12-25 16:26:55 var theParent = document.getElementById("bq_ly"); theParent.parentNode.removeChild(theParent);