How do I select the next \"n\" elements starting from the current element? What I mean is...
$(this).attr(...);
I want to do this \"n\" times
the nextAll method selects the following siblings of an element, optionally filtered by a selector. You could then follow that with a slice to restrict to a smaller n.
slice