Hi i am adding and deleting rows dynamically using javascript and its working fine... the adding and deleting of rows to a HTML table. But after adding a few rows if i delete rows inbetween in the table and then add a new row.. there is a mismatch happening.. so i want to retrieve the id of the last row added... i tried many ways to egt id of the last row in the HTML table but i am not able to get.. few methods i tried were.... as follows:
$('#tblrownew0 tr:last td:eq(1)').id
it showed undefined.
$('#tblrownew0 tr:last')
this if i use alert i am getting objectobject but how can i get the id of the row??
Please help!! thanking u in advance!!