Getting the last row of a table using jQuery? March 19, 2023 by Tarik $('#yourtableid tr:last').attr('id');