pQuery\IQuery::replaceWith PHP Méthode

replaceWith() public méthode

Replace each element in the set of matched elements with the provided new content and return the set of elements that was removed.
public replaceWith ( string $content )
$content string The content that will replace the nodes.
    function replaceWith($content);