title: Get attribute of objects in an array
body: <p>For some reason, jQuery isn't giving me the attributes of objects in array when I define the number in the array. It will return the class of the first object in an array when none in particular are defined, though. For example, this works:</p>
  
  <pre><code>$('#content').prepend($('div #left ol.group li',data).attr("class"));
  </code></pre>
  
  <p>but this doesn't:</p>
  
  <pre><code>$('#content').prepend($('div #left ol.group li',data)[3].attr("class"));
  </code></pre>
  
  <p>Can someone explain to me why this doesn't work like most other functions do and how to make it work?</p>