if i have 2 divs (z index is not assigned), one layered over the over, can i use the reference to the top div to find which div is below it?
as far as the DOM struct
As far as I know, there isn't a selector for this. You could probably write a function to do this though. I would iterate over each element that precedes the div in question and check whether or not it's bounding box is in the desired div.