re-rendering html in a div to a new browser window
<p>I would like to take all my <code>&lt;div&gt;</code>'s in a parent <code>&lt;div&gt;</code> and re-render the contents into a new broswer window.  Can anyone make any suggestions?  I'm using jQuery and .NET. </p>

<ol>
<li><p>Get all divs in the markup.</p>

<pre><code>var markupData = $("#names").html();
</code></pre></li>
<li><p>Empty div.</p>

<pre><code>$("#names").empty();
</code></pre></li>
<li><p>open new window displaying markupData.</p>

<pre><code>???
</code></pre></li>
</ol>
