Accessing an item of an array with jquery?
<p>How would I access the div with a text node of 2?</p>

<pre><code>&lt;script&gt;
$(document).ready(function() {
  alert($('.content').length);

  $('.content').click(function(e) {
// ...
  })
});
&lt;/script&gt;

&lt;div class='content'&gt;1&lt;/div&gt;

&lt;div class='content'&gt;2&lt;/div&gt;

&lt;div class='content'&gt;3&lt;/div&gt;

&lt;div class='content'&gt;4&lt;/div&gt;
</code></pre>
