Hi,
I m new to ajax. I have to implemented the ajax autocomplete.When I press any alphabet say suppose "a", I should get all names starting with "a" say arman,anoop,anju etc one below other. now when i select one of them say 'arman' the text box should display "arman,". Now when I press "a" again then it should show "anoop" & "anju" one below the other.As i want to enter multiple values with comma seperated.And when I select any one of these, it should append the value to previously present in text box(i.e it should append the value to "arman").
Please reply to this...
I would be really thankful to u all..
Thanks.
multiple entries into a textbox with (,) seperation
Moderator: General Moderators
-
navenchary
- Forum Newbie
- Posts: 3
- Joined: Thu May 07, 2009 1:26 am
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: multiple entries into a textbox with (,) seperation
I'm not exactly sure what you are asking.
What are you having trouble with and what have you tried so far? Posting some code would be helpful.
What are you having trouble with and what have you tried so far? Posting some code would be helpful.
-
navenchary
- Forum Newbie
- Posts: 3
- Joined: Thu May 07, 2009 1:26 am
Re: multiple entries into a textbox with (,) seperation
hi
I have some code which can display the ajax suggest sought of thing and it works fine,But what I need is something similar to that.
I mean to say that when we compose mails in gmail or yahoomail we insert addresses,when we type the first letter of the person the ajax
will display the email addresses of all the persons starting with that letter by selecting any one of the mail-id we can insert it into the textbox
and if we further want to send the same mail to to other person we continue with a (,) comma and enter the first letter of the next mail-id, which will display the list once again and when we select other mail-id it will be appended to the first selected one and it continues so on.
I need something similar to t his sought of functionality
I would be grateful to you if someone could help me
thank you
I have some code which can display the ajax suggest sought of thing and it works fine,But what I need is something similar to that.
I mean to say that when we compose mails in gmail or yahoomail we insert addresses,when we type the first letter of the person the ajax
will display the email addresses of all the persons starting with that letter by selecting any one of the mail-id we can insert it into the textbox
and if we further want to send the same mail to to other person we continue with a (,) comma and enter the first letter of the next mail-id, which will display the list once again and when we select other mail-id it will be appended to the first selected one and it continues so on.
I need something similar to t his sought of functionality
I would be grateful to you if someone could help me
thank you
-
mattpointblank
- Forum Contributor
- Posts: 304
- Joined: Tue Dec 23, 2008 6:29 am
Re: multiple entries into a textbox with (,) seperation
Try this: http://www.interiders.com/2008/02/11/pr ... ompletion/
Note that you don't need to type a comma, as soon as you select a name from the list, you can start typing another one.
Note that you don't need to type a comma, as soon as you select a name from the list, you can start typing another one.
-
navenchary
- Forum Newbie
- Posts: 3
- Joined: Thu May 07, 2009 1:26 am
Re: multiple entries into a textbox with (,) seperation
thank you for your assistance but I need something different.just like the compose mail box as I have already explained