DOM Removal
-
.detach()
Remove the set of matched elements from the DOM.
-
.empty()
Remove all child nodes of the set of matched elements from the DOM.
-
.remove()
Remove the set of matched elements from the DOM.
-
.unwrap()
DOM Insertion, Around | DOM Removal
Remove the parents of the set of matched elements from the DOM, leaving the matched elements in their place.