Answer the question
In order to leave comments, you need to log in
jQuery - select next two elements?
There is a table with N number of tr , when you click on the tr element , you need to select the next two tr elements .
Maybe there is a more elegant solution?
$(this).nextAll("tr:eq(0), tr:eq(1)");
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question