Modify ↓
Ticket #1773 (closed bug: fixed)
'last' doesn't work in firefox 2.0.0.7 windows
| Reported by: | alfrombrum | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.2 |
| Component: | core | Version: | 1.2.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
the demo on:
http://docs.jquery.com/Selectors/last
doesn't return only the last row, but returns the whole table.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

The problem was the demo wasn't actually doing anything. The table was showing the 3 lines correctly and the code just showed:
$("tr:last")
so I changed it to
$("tr:last").css('backgroundColor', 'yellow');
And it seems to work fine. So I'd consider this closed unless you can have additional information.