Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to get text of removed tag #656

Closed
mba8487143 opened this issue Apr 5, 2019 · 1 comment
Closed

How to get text of removed tag #656

mba8487143 opened this issue Apr 5, 2019 · 1 comment

Comments

@mba8487143
Copy link

i want to get the text of the on click remove button. how to get the text

@pablocorezzola
Copy link

Try

$('input').tagsinput();
$('input').on("beforeItemRemove", function(tag){
console.log(tag.item);
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants