Skip to content

Autocomplete JQuery plugin for email fields

License

Notifications You must be signed in to change notification settings

btholt/auto-email

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto-Email

An autocomplete JQuery plugin for email fields

auto-email

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.

To use this plugin, download the file and on pageload, call:

$('#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.

Credits

About

Autocomplete JQuery plugin for email fields

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%