javascript positioning

Joined
Jun 26, 2006
Messages
37
i was wondering, is there any way to get the position of an element on a site? I'm playing around with ajax and I want to be able to have a div layer always positioned right below a textfield but i'm having a bit of trouble finding scripts to retreive the current position of a textfield.
 
Why do you need a javascript to do this? Can't you just place/size/etc. your page elements correctly so the div flows under the textfield?
 
Back
Top