0

How can get the last but one row id in my dynamic HTML Table

<table>
 <tr id='1'>...</tr>
 <tr id='2'>...</tr>
 <tr id='3'>...</tr>
</table>
Mahesh Dokku
  • 87
  • 1
  • 10
  • what is the "last but one" row? and in what sense do you want to *get* it? your question is close to the definition of "unclear", please provide more detail – Franz Gleichmann Oct 20 '16 at 15:14
  • actually in dynamic table first and second row coming from the data base table and i added to third row manually.i want dynamic last id. which means id =2, but i don't how many rows in my data base table.is it possible? – Mahesh Dokku Oct 20 '16 at 15:21

0 Answers0