Tagging input fields using jQuery TagsInput plugin
Posted By : Sachin Verma | 11-Nov-2013
jQuery Tags-Input Plugin (Convert boring text inputs into magical taggling interfaces)
jQuery Tags-input plugin is brilliant add-on for our TextFields to make them accepting Tags as input as you may have seen in Gmail, StackOverflow etc. daily use applications.
- Autocomplete feature
- Add/Remove multiple tags
- Manage Size
- Event Handling
- All normal textfield featues.
$(document).ready(function () { $('input[id^="ct-input"]').tagsInput({ 'height':'35px', 'width':'300px', 'interactive':true, 'autocomplete_url':"List or Url returning list", 'onAddTag':function(){changeTags("add", this)} , 'onRemoveTag': function(){changeTags("delete", this)} }); });
About Author
Sachin Verma
Sachin is a bright OCJP certified lead java developer with excellent experience in Groovy and Grails framework for building SaaS applications.