Category: DOM Replacement

Category: DOM Replacement

These methods are used to remove content from the DOM and replace it with new content.

.replaceAll()

Replace each target element with the set of matched elements.