title: Copy content of iframe into a div with jquery or javascript
body: <p>I want to copy some parts of html content (  inside an iframe ) into a external div. In my page i have a form inside an iframe and i want to copy some parts of this form and append in another div, outside of the iframe.</p>
  
  <p>Ex. </p>
  
  <pre><code>&lt;section&gt;       
  &lt;iframe id="reg01" class="registration-form" name="registration" src="https://www.website.com/registrationSteps/newUser.jsp" width="100%" height="500" frameborder="0" marginheight="0" marginwidth="0" scrolling="no"&gt;&lt;/iframe&gt;
  
  &lt;div id="registration"&gt; Some content of iframe here &lt;/div&gt;
  
  &lt;/section&gt;
  </code></pre>