Accessing a specific row

Accessing a specific row

danieluna91danieluna91 Posts: 1Questions: 1Answers: 0

Hi Everyone! I hope you're well. My question is the next. I want to access in a specific row, because I want all the values in that row. Now I'm just accessing by the variable "this", just like the next way:

$('td', this).eq(i).text()

But I want access to the values of one row before too. In that way.. how can I send the index of the row instead of the variable "this"???

Thank you!!!

Answers

  • allanallan Posts: 63,679Questions: 1Answers: 10,498 Site admin

    How about $(this).prev() to get the previous row?

    Allan

This discussion has been closed.