parent element should have position relative css property $('child-element').position(); // { top : y, left : x}