View Full Version : drop down (just like yahoo mail's 'To' text field)

07-13-2005, 02:44 PM
Hi guys,

i want to create a drop down for an textbox which is like Yahoo Mail's 'To' textbox.
For Ex:- when we type in Yahoo Mail's 'To' textbox it will search for the keyed in text and will give it in dropdown.
i want to develop the same like this.

can anyone guide me how can i do this & which technology is used for this.

07-13-2005, 02:55 PM
Did you view the source at Yahoo? ;)

07-13-2005, 03:01 PM
It uses the XMLHTTPRequest object to querry the server to ask what is in your contact list ;)

07-13-2005, 03:51 PM
i have seen but not understood any thing...hence posted
--Mahesh P

07-13-2005, 04:37 PM
To do similar client side

The text box has an associated array containing words

as you type in the text box the array is searched for words begining with the typed string

matching words are used as the options of a select list which is displayed

clicking an entry in the selectlist enters the entry in the text box

for example see