...

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



itsmaheshp
07-13-2005, 01: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.

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

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

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

vwphillips
07-13-2005, 03: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

http://www.vicsjavascripts.org.uk/AutoComplete/AutoComplete.htm



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum