jQuery – Add/Delete Tags with jQuery Input Plugin

jQuery plugin converts a simple text input into a tag list with remove tag option.

This plugin creates a input in your form that will contains a comma-separated list of tags.

Simply call the tagsInput function on any field that should be treated as a list of tags.


To add tags – Call the addTag() function.


To remove tags – Call the removeTag() function.


To import a list of tags – Call the importTags() function.


To reset the tag list – Call the importTags() function.


By default, if the cursor is immediately after a tag and you are hitting backspace will
delete that tag.

jQuery Tags Input

jQuery Tags Input

Demo Code




2 Responses to jQuery – Add/Delete Tags with jQuery Input Plugin

  1. Jaime says:


    thanks for information!

Leave a Reply

Your email address will not be published. Required fields are marked *