<p>I'm struggling to find the right terminology here, but if you have jQuery object...</p>

<pre><code>$('#MyObject')
</code></pre>

<p>...is it possible to extract the base element? Meaning, the equivalent of this:</p>

<pre><code>document.getElementById('MyObject')
</code></pre>

[{'answer_id': 47844, 'author': 'VolkerK', 'author_id': 4833, 'author_profile': 'https://Stackoverflow.com/users/4833', 'pm_score': 7, 'selected': True, 'text': '<p>Yes, use <code>.get(index)</code>.  According to the <a href="https://api.jquery.com/get/#get1" rel="nofollow noreferrer">documentation</a>:</p>\n\n<blockquote>\n  <p>The <code>.get()</code> method grants access to the DOM nodes underlying each jQuery object.</p>\n</blockquote>\n'}, {'answer_id': 47848, 'author': 'Aaron Wagner', 'author_id': 3909, 'author_profile': 'https://Stackoverflow.com/users/3909', 'pm_score': 7, 'selected': False, 'text': "<pre><code>$('#MyObject').get(0);\n</code></pre>\n\n<p>I think that's what you want.  I think you can also reference it like a regular array with:</p>\n\n<pre><code>$('#MyObject')[0];\n</code></pre>\n\n<p>But I'm not sure if that will always work.  Stick with the first syntax.</p>\n"}, {'answer_id': 47874, 'author': 'Shog9', 'author_id': 811, 'author_profile': 'https://Stackoverflow.com/users/811', 'pm_score': 3, 'selected': False, 'text': '<p>A jQuery object is a set of elements. In your case, a set of one element. This differs from certain other libraries, which wrap single elements and provide alternate syntax for selectors that return multiple matches. </p>\n\n<p><em><a href="https://stackoverflow.com/questions/47837/getting-the-base-element-from-a-jquery-object#47848">Aaron W</a> and <a href="https://stackoverflow.com/questions/47837/getting-the-base-element-from-a-jquery-object#47844">VolkerK</a> already explained how to access the first (index 0) element in the set.</em></p>\n'}, {'answer_id': 16839707, 'author': 'VeeTheSecond', 'author_id': 652876, 'author_profile': 'https://Stackoverflow.com/users/652876', 'pm_score': 3, 'selected': False, 'text': '<p>I tested Aaron\'s statements on all the browsers I have available on my box:</p>\n\n<pre><code>$(\'#MyObject\').get(0);\n</code></pre>\n\n<p>vs</p>\n\n<pre><code>$(\'#MyObject\')[0];\n</code></pre>\n\n<p><strong>As far as I can tell, it is only a matter of personal preference.</strong></p>\n\n<p>Functionally, both these statements are equivalent for both existing and non-existing elements. I tested the following browsers: Chrome 27.0, FF 21.0, IE10, IE9, IE8, IE7, IE6. </p>\n\n<p>In the speed tests that I ran, it was not always possible to tell which variation was faster; the outcome was not always consistent, even on the same browser. For the speed tests, I only tested existing elements. My test results are <a href="http://jsperf.com/jquery-base-element" rel="noreferrer">here</a>.</p>\n'}]
['https://Stackoverflow.com/questions/47837', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1923/']