Pablo

nextSiblings([filter])

Returns a collection of all the collection’s siblings that follow after it in the DOM.

var svg = Pablo(demoElement).svg({height: 60});

svg.append(Pablo.circle({r: 30, cx: 30, cy: 30}))
    .append(Pablo.circle({r: 30, cx: 100, cy: 30, fill:'green'}))
    .append(Pablo.circle({r: 30, cx: 170, cy: 30}))
    .append(Pablo.circle({r: 30, cx: 240, cy: 30}));

svg.children('circle[fill=green]')
    .nextSiblings()
    .attr({'fill': 'purple'})
Painting is just another way of keeping a diary.
Pablo Picasso