return a single html element with jquery
<p>How can I get jQuery to return a html element exactly the way that <code>getElementById</code> does?</p>

<p>if I <code>console.log($('#container'))</code> I will get : </p>

<pre><code>[&lt;div id="container"&gt;&lt;/div&gt;]
</code></pre>

<p>But the API I am interacting with obviously doesn't want that (an array) - it wants : </p>

<pre><code>&lt;div id="container"&gt;&lt;/div&gt;
</code></pre>

<p>I know I can achieve this with <code>$('#container').get(0)</code> and a few other ways, It just seems overkill - especially as I'm selecting an ID which will always be unique. </p>

<p>What am I missing guys?</p>

<p>Thanks</p>
