jQuery Plugin For Textarea Tag/Token Manager - Wordlist

jQuery Plugin For Textarea Tag/Token Manager - Wordlist
File Size: 2.7 KB
Views Total:
Last Update:
Publish Date:
Official Website: Go to website
License: MIT
   

Wordlist is a really simple jQuery plugin which allows you to turn comma-separated text into tags/tokens in a textarea.

How to use it:

1. Load jQuery Javascript library and the jQuery wordlist plugin in your document.

<link rel="stylesheet" href="wordlist.css">
<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="wordlist.js"></script>

2. Create a textarea for the tag manager.

<textarea name="keywords" class="demo wordlist">Hello, world</textarea>

3. Initialize the plugin on the textarea element and we're done.

$('.demo').wordlist();

This awesome jQuery plugin is developed by mitchward. For more Advanced Usages, please check the demo page or visit the official website.