Live Demo
Form Content
This is the data that will be submitted with HTML form.
Source
This is the original input HTML.
<textarea id="textarea" class="example" rows="1"></textarea>
This is the JavaScript source that was used to initialize this demo instance of TextExt.
<script type="text/javascript"> $('#textarea').textext({ plugins: 'tags', items: [ { name: 'PHP' }, { name: 'Closure' }, { name: 'Java' } ], ext: { itemManager: { stringToItem: function(str) { return { name: str }; }, itemToString: function(item) { return item.name; }, compareItems: function(item1, item2) { return item1.name == item2.name; } } } }); </script>