Side navigation
#1773 closed bug (fixed)
Opened October 04, 2007 02:10PM UTC
Closed October 18, 2007 12:26AM UTC
'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: | ||
Blocked by: | Blocking: |
Description
the demo on:
http://docs.jquery.com/Selectors/last
doesn't return only the last row, but returns the whole table.
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.