jquery, find next element by class
In this case you need to go up to the <tr> then use .next(), like this: Or if there may be rows in-between without the .class inside, you can use .nextAll(), like this:
In this case you need to go up to the <tr> then use .next(), like this: Or if there may be rows in-between without the .class inside, you can use .nextAll(), like this: