This plugin autocompletes email addresses when supplied with an email domain. Instead of the regular JQuery autocomplete's dropdown menu of autocomplete suggestions, this types ahead while keeping the auto-filled text highlighted as to not obstruct the user.
$('#your-field').autoEmail(["gmail.com", "yahoo.com", "aol.com", "ymail.com", "anything.com"]);
The library will give preference to the entry that comes first in the array. IE btholt@y will autocomplete to yahoo.com first, but after typing ym will autocomplete to ymail.com.
- Original created by @chrisyuska
- Forked and maintained by @btholt