removeTag and add , how to call them out of tagit() method? #33

ghost opened this Issue Sep 22, 2011 · 1 comment


None yet

1 participant

ghost commented Sep 22, 2011

I'm using this plugin, i need to make controls on which tags are inserted before they are added and switch if control is ok i need to add if control is not ok i do not need to add the tag.

is this possible?

Also i would like to know if is possible to remove only 1 tag and not all tags at once


aehlke commented Nov 25, 2012

See the new removeTagByName function. $("#myTagWidget").tagit("removeTagByName", "name-of-tag")

Same for .tagit("createTag", "name-of-tag")

If you want to reject tags that users enter, see the beforeTagAdded callback which lets you reject tags.

@aehlke aehlke closed this Nov 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment