can js dom replace jquery code example Example: replace jquery $("p:first").replaceWith("Hello world!");