Returning html of an element along with the element in jquery
<p>I have mark up like</p>

<pre><code>&lt;div id="div1"&gt;
   &lt;div id="div2"&gt;
     blah blah
   &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p>If I use $("#div1").html(), it returns the div#div2. But I want to get the complete html. i.e, along with div#div1. </p>

<p>Is there any way to do this?</p>
