If you have an element with id "myElement" and want to remove it from the DOM, what JavaScript method would you use?
<div id="myElement">Content</div>
If you have an element with id "myElement" and want to remove it from the DOM, what JavaScript method would you use?
<div id="myElement">Content</div>