Ofogamvheqskw
New Member
I have a series of slides based off of sections:\[code\]<div id="slides"> <section id="first"> <section> <table> <thead> </thead> <tbody> <tr id="somethingUnique"> ... </tr> </tbody> </table> </section> <section> <table> <thead> </thead> <tbody> <tr id="somethingUnique"> ... </tr> </tbody> </table> </section> ... </section></div>\[/code\]I need to select grab the ID of the last row from the table in the last section of #first section.I'm using the following Jquery, getting "undefined" back...any ideas?\[code\] var lastListItem = $('#first:last-child table>tbody>tr:last').attr("id"); alert(lastListItem);\[/code\]