A repository of over 1000 quality jQuery plugins

jQuery Next Adjacent Selector (“prev + next”)

Learn all about the jQuery function Next Adjacent Selector (“prev + next”).

One important point to consider with both the next adjacent sibling selector (prev + next) and the general sibling selector (prev ~ siblings) is that the elements on either side of the combinator must share the same parent.