This deletes the child. "event.target.parentNode.removeChild(event.target);" . Event target is an image that is wrapped within a "p" element. Perhaps learn the parentNodes id before the delete?
Skier88
9:28 pm on Dec 2, 2011 (gmt 0)
If you're deleting the parent you don't have to delete the child first.