[jQuery] Re: Input position in HTML

2009-08-13 Thread Giovanni Battista Lenoci
Baalzamon ha scritto: 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/to

[jQuery] Re: Input position in HTML

2009-08-13 Thread Jules
You should use css not jquery. On Aug 13, 10:22 pm, Baalzamon wrote: > 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