<?xml version='1.0' encoding='ISO-8859-1'?>
<?xml-stylesheet type='text/xsl' href='docs.xsl'?>
<docs>
<method cat='Core' type='Array&lt;Element&gt;' short='Access all matched DOM elements.' name='get'>
<desc>Access all matched DOM elements. This serves as a backwards-compatible
way of accessing all matched elements (other than the jQuery object
itself, which is, in fact, an array of elements).

It is useful if you need to operate on the DOM elements themselves instead of using built-in jQuery functions.</desc>
<examples>
<desc>Selects all images in the document and returns the DOM Elements as an Array</desc>
<before>&lt;img src="test1.jpg"/&gt; &lt;img src="test2.jpg"/&gt;</before>
<code>$("img").get();</code>
<result>[ &lt;img src="test1.jpg"/&gt; &lt;img src="test2.jpg"/&gt; ]</result>
</examples>
</method><method cat='Core' type='Element' short='Access a single matched DOM element at a specified index in the matched set.' name='get'>
<desc>Access a single matched DOM element at a specified index in the matched set.
This allows you to extract the actual DOM element and operate on it
directly without necessarily using jQuery functionality on it.</desc>
<params type='Number' name='num'>
<desc>Access the element in the Nth position.</desc>
</params>
<examples>
<desc>Selects all images in the document and returns the first one</desc>
<before>&lt;img src="test1.jpg"/&gt; &lt;img src="test2.jpg"/&gt;</before>
<code>$("img").get(0);</code>
<result>&lt;img src="test1.jpg"/&gt;</result>
</examples>
</method></docs>
