title: get html after jquery action
body: <p>Fairly new to jquery.</p>
  
  <p>I've got a page setup where a user clicks buttons, which adds text content to div.</p>
  
  <p>I then want to retrive the edited contents of this div and append another div at the bottom of the page with them.  </p>
  
  <p>I thought of using:</p>
  
  <pre><code>var divcontents = $('#firstdiv').html();
  $('#targetDiv').append(divcontents);
  </code></pre>
  
  <p>However this doesn't work, because the contents of the first div were added by jquery actions, and are are not in the core HTML.</p>
  
  <p>Is there a simple way to do this?</p>