Loading whole body of a different page with html()
<p>I'm a newbie to jQuery.</p>

<p>Trying to load the whole body of a different page of my site with html(), where in the following example, "htmlb" holds the whole body.  </p>

<p>I can see that the HTML was loaded correctly via AJAX and the body extracted alright, too, beforehand.  Also worth noting, that the HTML is well-formed, is rather short and validates perfectly in the W3 validator:</p>

<pre><code>var eb=$('&lt;html&gt;').html(htmlb); 
alert($(eb).html);
</code></pre>

<p>The alert shows some weird JavaScript function instead of the body's HTML.</p>

<p>Judging from other threads in this forum, it should actually work?</p>

<p>Any help is greatly appreciated!</p>

<p>Thanks in advance...</p>
