Side navigation
#5050 closed feature (duplicate)
Opened August 14, 2009 12:34PM UTC
Closed November 11, 2009 06:10PM UTC
eq(-1) - negative numbers take from end of the collection
Reported by: | james_padolsey | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 1.4 |
Component: | core | Version: | 1.3.2 |
Keywords: | eq | Cc: | |
Blocked by: | Blocking: |
Description
See: http://groups.google.co.uk/group/jquery-dev/browse_thread/thread/9b941b4a8e4f625e
With this 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(..)).
Attachments (0)
Change History (1)
Changed November 11, 2009 06:10PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Duplicate of #4262.