jquery .html() injecting object vs variable containing the object
<p>Not sure if the title is right, please suggest changes if you disagree.</p>

<p>I was working with content loaded via jquery (.load()) into a div. I had to remove couple items from the loaded content. I've done so in the same manner as in the jsfiddle example I wrote ( <a href="http://jsfiddle.net/AzxaL/12" rel="nofollow">http://jsfiddle.net/AzxaL/12</a> ). This one does not use load() function which creates id duplication, but this is irrelevant.</p>

<p>The question is: why one work and another does not and what needs to change in 
    else if(this.tagName == 'H2') {
      $(this).remove();
    }
of the not working example?</p>

<p>To save you hunting down differences, the only one is in the /* line of interest */</p>

<h3>Working</h3>

<pre><code>$('#copy_working_box').html($('#copy_working_box').children('#wrapper').children()).fadeIn(300);
</code></pre>

<h3>Not working</h3>

<pre><code>$('#copy_working_not_box').html(content).fadeIn(300);
</code></pre>

<p>Also, please notice that in the not working example the div#subcontent does get removed it is only the h2 that is not.</p>

<p>P.S. I'm looking for clarification as I understand that this issue exists only because of my flawed understanding of how this example works.</p>

<p>Thanks in advance.</p>
