tadam logo

Finds all divs that are siblings after the element with #prev as its id. Notice the span isn't selected since it is not a div and the "niece" isn't selected since it is a child of a sibling, not an actual sibling.

Your Result (Some examples do not work in Google Chrome):
Edit the code above and click to see the result www.xhtml.co.il - Try it yourself  
tadam logo