I have a table as below
ID Name
1 David
11 John
I want to get the row has id = 1:
var row1 = $(this).closest("tr").nextAll("tr").has("td:eq(0):contains(1)");
but the output returned two rows. How do I get the exact value?
I have a table as below
ID Name
1 David
11 John
I want to get the row has id = 1:
var row1 = $(this).closest("tr").nextAll("tr").has("td:eq(0):contains(1)");
but the output returned two rows. How do I get the exact value?