Well, if you just want to limit it to childrens of a certain element, it's easy. If you want it to be the elements contained in a selection it gets trickier. To remove from a single element and all it's children you simply do:
Code:
element.parentNode.removeChild(element);