Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-13-2005, 01:44 PM   PM User | #1
itsmaheshp
New Coder

 
Join Date: Dec 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
itsmaheshp is an unknown quantity at this point
drop down (just like yahoo mail's 'To' text field)

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.
itsmaheshp is offline   Reply With Quote
Old 07-13-2005, 01:55 PM   PM User | #2
nikkiH
Senior Coder

 
nikkiH's Avatar
 
Join Date: Jun 2005
Location: Near Chicago, IL, USA
Posts: 1,973
Thanks: 1
Thanked 32 Times in 31 Posts
nikkiH is on a distinguished road
Did you view the source at Yahoo?
__________________

If this post contains any code, I may or may not have tested it. It's probably just example code, so no getting knickers in a bunch over a typo, OK? If it doesn't have basic error checking in it, such as object detection or checking if objects are null before using them, put that in there. I'm giving examples, not typing up your whole app for you. You run code at your own risk.
Bored? Visit
http://www.kaelisspace.com/
nikkiH is offline   Reply With Quote
Old 07-13-2005, 02:01 PM   PM User | #3
SpirtOfGrandeur
Regular Coder

 
Join Date: May 2005
Location: Michigan, USA
Posts: 566
Thanks: 0
Thanked 0 Times in 0 Posts
SpirtOfGrandeur is an unknown quantity at this point
It uses the XMLHTTPRequest object to querry the server to ask what is in your contact list
SpirtOfGrandeur is offline   Reply With Quote
Old 07-13-2005, 02:51 PM   PM User | #4
itsmaheshp
New Coder

 
Join Date: Dec 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
itsmaheshp is an unknown quantity at this point
i have seen but not understood any thing...hence posted
--Mahesh P
itsmaheshp is offline   Reply With Quote
Old 07-13-2005, 03:37 PM   PM User | #5
vwphillips
Senior Coder

 
Join Date: Mar 2005
Location: Portsmouth UK
Posts: 4,353
Thanks: 3
Thanked 457 Times in 444 Posts
vwphillips is a jewel in the roughvwphillips is a jewel in the roughvwphillips is a jewel in the rough
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/Au...toComplete.htm
vwphillips is online now   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:10 AM.


Advertisement
Log in to turn off these ads.