Skip to main content

Bug Tracker

Side navigation

#5379 closed enhancement (duplicate)

Opened October 14, 2009 10:15PM UTC

Closed November 11, 2009 06:10PM UTC

eq handle -1

Reported by: snowbot3 Owned by:
Priority: minor Milestone: 1.4
Component: core Version: 1.3.2
Keywords: eq Cc:
Blocked by: Blocking:

the eq function works with the argument -2, -3, etc, where $(selector).eq(-2) returns the second from the last element, but $(selector).eq(-1) only returns null or an empty array(not sure which). I would like eq(-1) to return the last Jquery element in the array.

Attachments (0)
Change History (2)

Changed October 15, 2009 12:26AM UTC by dmethvin comment:1

component: unfilledcore
keywords: → eq

Changed November 11, 2009 06:10PM UTC by john comment:2

resolution: → duplicate
status: newclosed

Duplicate of #4262.