Obtain a HTML elements positon in body coordinates
If I have a nested HTML element called Div1 (a div that sits inside another div & that other div sits inside the body), **how can I get Div1's x,y position from the body elements perspective** maybe this is called window/screen position of a HTML element)?

Hope this makes sense :)
Obtain a HTML elements positon in body coordinates
===

If I have a nested HTML element called Div1 (a div that sits inside another div & that other div sits inside the body), **how can I get Div1's x,y position from the body elements perspective** maybe this is called window/screen position of a HTML element)?

Hope this makes sense :)