Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yongzhenlow/email-autocomplete
A jQuery plugin that suggests and autocompletes the domain in email fields.
https://github.com/yongzhenlow/email-autocomplete
autocomplete email-autocomplete javascript jquery jquery-plugin
Last synced: about 1 month ago
JSON representation
A jQuery plugin that suggests and autocompletes the domain in email fields.
- Host: GitHub
- URL: https://github.com/yongzhenlow/email-autocomplete
- Owner: yongzhenlow
- License: mit
- Archived: true
- Created: 2014-01-17T06:30:33.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2020-08-25T04:13:02.000Z (over 4 years ago)
- Last Synced: 2024-08-04T09:06:41.750Z (5 months ago)
- Topics: autocomplete, email-autocomplete, javascript, jquery, jquery-plugin
- Language: JavaScript
- Homepage: http://yongzhenlow.github.io/email-autocomplete/demo/
- Size: 84 KB
- Stars: 274
- Watchers: 12
- Forks: 51
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# jquery.email-autocomplete.js
> A jQuery plugin that suggests and autocompletes the domain whenever your users type in an email address field.
[![Build Status](https://travis-ci.org/yongzhenlow/email-autocomplete.svg?branch=master)](https://travis-ci.org/yongzhenlow/email-autocomplete)
[![CDNJS version](https://img.shields.io/cdnjs/v/email-autocomplete.svg)](https://cdnjs.com/libraries/email-autocomplete)## What does it do?
When your user types in "user@gm", the plugin will suggest for e.g. "[email protected]", based on the first result from a list of predefined email domains.
![diagram](https://raw.github.com/yongzhenlow/email-autocomplete/master/doc_assets/example.png)
Press the tab-key, or simply click on the suggestion to automatically fill in the rest of the domain. (or tap on the suggestion for mobile users.)
You can also use the right arrow key.
See a live demo [here](http://yongzhenlow.github.io/email-autocomplete/demo/).
## Installation
**Bower**
```sh
bower install email-autocomplete --save
```**Download**
Download or clone this repo and copy `dist/jquery.email-autocomplete.min.js` into your javascripts directory.
## Usage (jQuery)
Add `jquery.email-autocomplete.min.js` into your HTML, before the closing `