jQuery Next Siblings Selector (“prev ~ siblings”)
Learn all about the jQuery function Next Siblings Selector (“prev ~ siblings”).
The notable difference between (prev + next
) and (prev ~ siblings
) is their respective reach. While the former reaches only to the immediately following sibling element, the latter extends that reach to all following sibling elements.