Bug Tracker

Modify

Ticket #3873 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

:eq() failing

Reported by: john Owned by: john
Priority: major Milestone: 1.3.1
Component: selector Version: 1.3
Keywords: Cc:
Blocking: Blocked by:

Description

Test cases:  http://jsbin.com/omobe  http://media.nodnod.net/eq.html

"Note that $('table tr:eq(36)') gives none while $('table tr:eq(5)') gives 2. One for each table."

Change History

comment:1 Changed 5 years ago by john

  • Status changed from new to closed
  • Resolution set to fixed

This was a tricky one, required some refactoring.  http://github.com/jeresig/sizzle/commit/24ee5553bd8162ad2973d656c51a61f6c288b576

Will be merging into jQuery soon.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.