.replaceWith( newContent )Returns: jQuery
Description: Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
-
version added: 1.2.replaceWith( newContent )
- newContent
-
Description: Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.