[jQuery] Input position in HTML

[jQuery] Input position in HTML


Hi, I'm making a dynamic div in a page but I'm having some doubts:
-I have an input text field and i need to get it's position (left and
top) to make the div appear near this input. $.(':INPUTNAME').css
('left') returns me zero like 'top' does.
Is there a way to get left/top position from a static input text field
on html??
Thx!!