title: replaceChild jQuery equivalent
body: <p>I'm trying to replace current dom element with new element i made. </p>
  
  <p>I implemented following line</p>
  
  <pre><code>$(this).parent().replaceChild(newElem,this);
  </code></pre>
  
  <p>But it gives error saying <code>$(this).parent().replaceChild is not a function</code> because replaceChild is not a jQuery function, what would be equivalent in jQuery?</p>