谢谢你,Praveen J.
var elem = $("your_element"); var offset = elem.offset(); var leftValue = offset.left; var topValue = offset.top;
要获得右侧和底部值,请向左侧和顶部添加宽度和高度值.