PDA

View Full Version : position div near textbox



bohboh
09-15-2006, 05:39 PM
I have an div element which is populated from an aspx page via an ajax javascript file. When a user enters some characters, it queries the db and sends back the results which get listed in the div. (Think google suggests)

This all works ok, the one problem i am having is that i cant get the results (div element) to position itself below the textbox that has focus.

There are 8 text boxes and i want to reuse the one div element and have it appear with the search results immediately below the text box that currently has focus.

Does anyone know how i can achieve this?