How to get object location with javascript according to its parent div
For example :
<div id="ExampleDiv"> // bla bla position at the page
<img id="MyImage"/>
</div>
If we think ExampleDiv top left as the begining point (0) is that possible to get location of MyImage according to the 0 point with javascript ?
If possible How ?
Here your go.