I have the following problem, I open a popup window. pressing the save button updates the current tr of the table. This does it very well with this:
parent = linkObj.closest("tr");
parent.find('td, th').css('background-color', '#58ACFA');
But inside this pop-up window I have a button that goes to the next record.
With this code obitne the following registry without problem:
parent = linkObj.closest("tr").next('tr');
But if I want to get to the third one, he will not let me.
Try doing a foreach to see if you were assigning the next parent to the object.
But the .next only gets the following from the orginal:
for (var i = 0; i <= contador; i++)
{
parent = linkObj.closest("tr").next('tr');
What would be the correct way to do this?
Thank you.