If you want to remove the element from the DOM entirely, you can use the removeChild() method. var elem = document.querySelector('#some-element ...
確定! 回上一頁