I would like to use the toggle function to show hide a table row BELOW
a dynamic row, so the table would look like this
row from database with data
row I want to show hide (defaults to hide)
I know how to do this when the table is static but how do I do it when
the rows are being built based on the numbers of rows from the
database?
Try the following .
Specify a class for the row which will be created from database. Say the class is ‘RowFromDB’, then if you specify
$('.RowFromDB').next()you can get the next element.