get the children of an element