SyntaxFix
Write A Post
Hire A Developer
Questions
HTML
<div id="replaceMe">i need to be replaced</div> <div id="iamReplacement">i am replacement</div>
JavaScript
jQuery('#replaceMe').replaceWith(jQuery('#iamReplacement'));