Skip to content

Enter multiple emails in a single input field with jQuery

License

Notifications You must be signed in to change notification settings

pierresh/multiple-emails.js

Repository files navigation

multiple-emails.js

Enter multiple emails in a single input field with jQuery.

This is an improved version of the original work of Jamie Bradley http://t2a.co/blog/index.php/multiple-value-input-field-with-jquery/.

New features are:

  • can display emails once the page is loaded
  • check integrity of inputted email address
  • emails are encapsulated in json
  • added support for copy and pasting bulk emails in the input field
  • works very well with Bootstrap and Semantic UI

Options

$(selector).multiple_emails({
   position: 'top', // Display the added emails above the input
   theme: 'bootstrap', // Bootstrap is the default theme
   checkDupEmail: true // Should check for duplicate emails added
});

❤️ Like it? ❤️

⭐ Star it! ⭐

My other projects :)

  • MorrisJS06: fork of Morris Chart library, no JQuery + awesomeness
  • flightphp-skeleton: a simple starter kit to build scalable REST APIs with FlightPHP

About

Enter multiple emails in a single input field with jQuery

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •