jquery selector looping vs using function each
<ol>
<li><p>Do these two snippets of code do identical things?  If yes, when should one be used over the other? (besides when you need to do something involving <code>i</code> or <code>value</code>)</p>

<pre><code>$("foo").each(function(i,value) {
    $(this).empty();
});
</code></pre>

<p>vs.</p>

<pre><code>$("foo").empty();
</code></pre></li>
<li><p>In general can it be assumed that <code>$("foo").someMethod()</code> means "run <code>somemethod()</code> on <em>each</em> element that matches the selector, except if the name of the method is <code>each</code>? (ie each is a special case)</p></li>
</ol>
