原生js删除元素. //删除id. var idObject = document.getElementById('sidebar');. if (idObject != null). idObject.parentNode.
確定! 回上一頁