jQuery: Get one of a set of selected elements
<p>There are several elements that are selected by <code>$(".foo")</code>.  <code>$(".foo").text()</code> returns the text of each element concatenated together. I just want the text of one element. What is the best way to do this?</p>

<p><code>$(".foo")[0].text()</code> fails.</p>
