Majo0od Majo0od - 1 month ago 6x
jQuery Question

How to target nth-child td then continuing down the list

I've targeted a specific td using the

, but wanted to see once I've targeted that specific td that I'll be able to continue down the list after that
, how would that be possible?

This is what I have so far:

var start = "3";
var first = $("tr:first-child").find("td:nth-child("+start+")");

\\a function that allows me to go to the next td's that are after the third td (ignoring 1 & 2)


You can use .nextAll() selector to target next sibling elements:

var nextalltds = first.nextAll();