title: Jquery replace parent with first child
body: <p>I'm trying to replace a dom parent with its first child and deleting all other children. It's not working. I got error: "Node cannot be inserted at the specified point in the hierarchy"</p>
  
  <pre><code>$("#over1").replaceWith($(this).children()[0]); 
  </code></pre>