title: Convert jQuery object to HTML
body: <p>I'm trying to take a string in javascript, parse and replace an item within the HTML and then cast it back to a string. I cannot for the life of me figure out how to turn the new jQuery object back to HTML. </p>
  
  <pre><code>var compiled = '&lt;div&gt;&lt;div id="header-content"&gt;Test&lt;/div&gt;&lt;/div&gt;';
  $(compiled).find('#header-content').html('Woot');
  var newCompiled = $(compiled).html();
  //Need newCompiled to be '&lt;div&gt;&lt;div id="header-content"&gt;Woot&lt;/div&gt;&lt;/div&gt;'
  </code></pre>
  
  <p>Please help. </p>