Find the element before and after a specific element August 20, 2023 by Tarik $("li.active").next(); and $("li.active").prev();