.get() method in jQuery
<p>I want to know about <code>.get()</code> method in jquery. I just read the blog on <a href="http://api.jquery.com/get/" rel="nofollow">http://api.jquery.com/get/</a> about the <code>.get()</code> method. I am using the same html but it is not giving the result as shown in document. Can anyone explain <code>.get()</code> in a practical way. What, when, and how to use it.</p>

<pre><code>&lt;ul&gt;
  &lt;li id="foo"&gt;foo&lt;/li&gt;
  &lt;li id="bar"&gt;bar&lt;/li&gt;
&lt;/ul&gt;

&lt;script&gt;
    $(function(){alert($("li").get())})
&lt;/script&gt;
</code></pre>
