Get independent HTML from $.ajax()
<p>Assume that in</p>

<pre><code>$.ajax({
    url: 'page1.html',
    data: {},
    success: function (data) {
        $(data)  //return an array of nodes
    },
    dataType: 'html'
});
</code></pre>

<p><code>$(data)</code> returns an array of nodes:</p>

<pre><code>[&lt;div id="a"&gt;,
 &lt;div id="b"&gt;,  //3 elements
 &lt;div id="c"&gt;]
</code></pre>

<p>and I want to get the HTML of the div that has an <code>id</code> of <code>"b"</code>. I tried </p>

<pre><code>$(data).find("#b");
</code></pre>

<p>but it returns a blank array. (<code>[]</code>) So how can I select it? Please help.</p>
