Select all html including wrapper div
<p>I am trying to select a div and its contents with jquery.</p>

<p>The div looks like this:</p>

<pre><code> &lt;div class="fav-list" id="149656222"&gt;
  &lt;ul&gt;
    &lt;li&gt;hai&lt;/li&gt;
    &lt;li&gt;hooy&lt;/li&gt;
  &lt;/ul&gt;
&lt;/div&gt;
</code></pre>

<p>and my code </p>

<pre><code>  alert($('#149656222').html());
</code></pre>

<p>this displays only this much:</p>

<pre><code>&lt;ul&gt;
    &lt;li&gt;hai&lt;/li&gt;
    &lt;li&gt;hooy&lt;/li&gt;
  &lt;/ul&gt;
</code></pre>

<p>And I need the entire div to be selected, what do I need to do for this?</p>
