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:
$('#content').prepend($('div #left ol.group li',data).attr("class"));
but this doesn't:
$('#content').prepend($('div #left ol.group li',data)[3].attr("class"));
Can someone explain to me why this doesn't work like most other functions do and how to make it work?