I have a raddropdowntree that i'm using to display a list of location with the floors in each location. The user can click on either the location or the floor and submit the form. Some locations either don't have floors or we don't know what floors exist so we have to allow for just the location but if we do have the floors identified, we want to be able to select those too. The floors and locations come from two different database tables, each with their own IDs. The ID of a floor might be the same as the ID of a location in the database. Is there any way to know if I've selected a parent or a child in the raddropdowntree? If it's a parent, it's a location but if it's a child, it's a floor (always). How would I determine what level the selected item is at?