Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <input type="text" id="tags" class="form-control" />
- <script type="text/javascript">
- $(document).ready(function() {
- $('#tags').tagsinput({
- typeahead: {
- source: ['[online]', '[max]'],
- afterSelect: function() {
- this.$element[0].value = '';
- }
- }
- });
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement