Jquery / UI / * Multi tag input
Multi Tag Input
-
Notes
1. CSS
2. JS
3. html
Script
$('#inputBox').tagator(); OR $('#inputBox').tagator({ prefix: 'tagator_', // CSS class prefix height: 'auto', // auto or element useDimmer: false, // dims the screen when result list is visible showAllOptionsOnFocus: false, // shows all options even if input box is empty allowAutocompleteOnly: false, // only allow the autocomplete options autocomplete: [] // this is an array of autocomplete options }); //Optionals $('#inputBox').tagator('refresh'); $('#inputBox').tagator('autocomplete', ['tag1','tag2','tag3']); $('#inputBox').tagator('destroy');