Solved

Sending emails a la Google mail

Posted on 2014-10-04
10
118 Views
Last Modified: 2014-12-14
Hi

In google mail when you click in the send button and start typing it starts to autocomplete a recipient and if you pick the name the name is there in the send box with a cross to remove it. Or it adds a new name if there is one is doesnt recognise. Then when you start typing again to add another recipinet another autocoplete dropdown appears and so the process repeats.

Is there a ui element/plugin/tutorial etc for copying this functonality

thnks
0
Comment
Question by:andieje
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 40361263
jQuery
http://jqueryui.com/autocomplete/

https://twitter.github.io/typeahead.js/

...and dozens of other autocomplete plugins, this is js - nothing to do with php
0
 
LVL 110

Expert Comment

by:Ray Paseur
ID: 40361322
Might intersect with PHP if the auto-complete made an AJAX request to get information from a database.
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 40361451
It is very resource intensive to get it as responsive as Google has it.  Unless there is a lot of bandwidth, and lots of threads available server side it is probably not something that can be done with the same level of efficiency on a smaller site.  I doubt it is using AJAX to respond to the input, because the response is quicker than AJAX would normally deliver.  It is more likely that the data (which originates in the users profile data, is being cached in sessions stuffed into a not exposed segment in the DOM.

Cd&
0
Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

 

Author Comment

by:andieje
ID: 40373809
it does intersect with php tp get autocomplete from database

With respect on this page i see nothing that looks like the google send box unless it in demo i missed
0
 

Author Comment

by:andieje
ID: 40373840
Back to the ul page - on the multiple examples page the selected  values are  not associated with an 'x' to remove as in google receipients

attachment 1 - demo
attacement 2 - google
0
 

Author Comment

by:andieje
ID: 40373857
Is there a special name for these widgets as you can imagine searching for anythign related to google doent give the best results :)
0
 

Author Comment

by:andieje
ID: 40373941
thanks cd for the reality check
0
 

Author Comment

by:andieje
ID: 40374966
My last comment didnt come out right

In googlerecipient in googlejquery ui widget you get autocomplete if a name exists, the ability to add a new name and each name is in a box with a delete icon

In jquery you can add multiple values with autocomplete, there is nothing inherent to delete an item, These were the images  i meant to post
0
 

Accepted Solution

by:
andieje earned 0 total points
ID: 40489613
I am going to answer my own question with jquery select2. There is an example of google style boxes on there
Thanks
0
 

Author Closing Comment

by:andieje
ID: 40498688
See Tagging Support Section
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to build a simple, quick and effective accordion menu using just 15 lines of jQuery and 2 css classes
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question