HTMLGuyLLC / EmailTypoSuggest

Makes entering your email address faster, and prevents typos!

Home Page:https://htmlguyllc.github.io/EmailTypoSuggest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EmailTS by HTMLGuy

Email Typo and Suggestion jQuery Plugin

Makes entering your email address faster, and prevents typos!

EmailTS will try to suggest the correct domain while you're typing. You can either click enter or click on the tooltip. If you misspell a common domain like blah@gmail.com as blah@gamil.com, when you leave the field, it'll say "Did you mean blah@gmail.com?". If you click on the suggestion, it'll change the value for you. This is a MUST HAVE to eliminate customer frustration, and to speed up your own typing.

Demo: https://htmlguyllc.github.io/EmailTypoSuggest/

To Use:

<html>
  <head>
    <link rel="stylesheet" href="dist/emailTS.css"/>
  </head>
  <body>
    <input type='email'>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
    <script src='dist/emailTS.min.js'></script>
    <script type="text/javascript">
      $('input[type="email"]').emailTS();
    </script>
  </body>
</html>

Options (Defaults):

$('input[type="email"]').emailTS({
  tooltip: true,
  typo: true,
  domains: ['yahoo.com', 'ymail.com', 'live.com', 'mail.com', 'comcast.com', 'comcast.net', 'yahoo.co.uk', 'hotmail.co.uk', 'verizon.net', 'sbcglobal.net', 'att.net', 'embarqmail.com', 'aim.com', 'me.com', 'msn.com', 'hotmail.com', 'gmail.com', 'aol.com'],
  addDomains: ['htmlguy.com', 'nomoreagent.com']
});

About

Makes entering your email address faster, and prevents typos!

https://htmlguyllc.github.io/EmailTypoSuggest/

License:MIT License


Languages

Language:JavaScript 78.5%Language:CSS 17.3%Language:HTML 4.2%