jQuery returning array when I want a node
<p>Can someone take a look at Line 77 in <a href="https://github.com/mayeskennedy/plugins.mayeskennedy.co.uk/blob/master/jquery/stateful-scrolling/stateful-scrolling.jquery.js" rel="nofollow">https://github.com/mayeskennedy/plugins.mayeskennedy.co.uk/blob/master/jquery/stateful-scrolling/stateful-scrolling.jquery.js</a> ??</p>

<p>It's the response from a jQuery AJAX GET request</p>

<pre><code>$.get('index.html', function(data) { $(data); });
</code></pre>

<p>it's returning an array when I want a single jQuery object.</p>

<p>I thought it was because I had badly formed page but it validates at the W3C.</p>

<p>Any help would be gratefully received.</p>
