Bug Tracker

Modify

Ticket #68 (closed bug: invalid)

Opened 7 years ago

Last modified 6 years ago

$('table tr tbody td:first') gives first td of last row found

Reported by: gilles@… Owned by:
Priority: major Milestone: 1.0
Component: core Version: 1.0
Keywords: Cc:
Blocking: Blocked by:

Description

$('table tr tbody td:first') gives me the first TD, of the last row found but that's not what i want.. I want the first TD of each row found. It it is a feature, it should return the first TD of the first row ;)

Change History

comment:1 Changed 7 years ago by john

  • Status changed from new to closed
  • Version set to 1.0
  • Resolution set to invalid

That's a feature - you should be using :first-child instead.

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.