I have a list similar to below and would like to only select all of the elements after the #everything_after
element.
CASE-1: when the id=""
or the class=""
selector is known:
$("#everything_after").nextAll();
//selects any of the next sibling elements, like , , ... etc tags.
//--or--
$("#everything_after").nextAll("div");
//selects only the next sibling tags;
CASE-2: when the index of the item is known:
$("#container > div:nth-child(6)").nextAll();
//--or--
$("#container > div:eq(5)").nextAll();