<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>
Comments
0 B
|👍
/👎