I don't see why not - we already support .get(-1), .eq(-1) makes sense. Want
to file a feature ticket for it?

--John


On Fri, Aug 14, 2009 at 2:34 AM, James Padolsey <
jamespadol...@googlemail.com> wrote:

>
> Would this be a possibility?
>
> It would be nice if it worked like JavaScript's Array methods, whereby
> passing a negative number indicates a position from the end of the
> array. So, with the following collection:
>
> [<a/>, <div/>, <span/>]
>
> eq(-1) would return <span/>, eq(-2) would return <div/>...
>
> This could be added for the .eq() method and the selector-expression
> (:eq(..)).
>
> Just an idea...
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to