Load HTML in place with jQuery
<p>I need to load a piece of HTML from a list of HTML inserts</p>

<pre><code>$('#placeholder1').html($('.html3').html());

&lt;td id="placeholder1"&gt;
 // place html here
&lt;/td&gt;

&lt;div style="display:hidden"&gt;
   &lt;div class="html1"&gt;
        // some HTML 1 here
    &lt;/div&gt;
    &lt;div class="html2"&gt;
        // some HTML 2 here
    &lt;/div&gt;
    &lt;div class="html3"&gt;
        // some HTML 3 here
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>Does not seem to work. What am I missing? Thanks.</p>
