On Jun 5, 8:15 pm, Jeztah webmas...@thecarmarketplace.com wrote:
Morning...
Very silly and easy question but my brain isn't working today
How can i get the last row of a table (table id=foo) ...
Tables have a rows collection that includes all rows in the table.
Try:
var rows =
Jeztah wrote:
Morning...
Very silly and easy question but my brain isn't working today
How can i get the last row of a table (table id=foo) ...
The row is inserted dynamically via an ajax request so its not on the
page at load time!.
$('foo').select('tr:last');
Unlike jQuery,
TY muchly
Regards
Alex
- Original Message -
From: Szymon Wilkołazki wilkola...@gmail.com
To: prototype-scriptaculous@googlegroups.com
Sent: Friday, June 05, 2009 11:33 AM
Subject: [Proto-Scripty] Re: Last table row
Jeztah wrote:
Morning...
Very silly and easy question but my