How to return text of clicked tag
Mashiane opened this issue · comments
How can I get the text of a clicked tag element?
Try
$(document).on('click', '.bootstrap-tagsinput > .tag', function(){
console.log($(this).text());
})
A collection for Bootstrap 5 templates.
Mashiane opened this issue · comments
How can I get the text of a clicked tag element?
Try
$(document).on('click', '.bootstrap-tagsinput > .tag', function(){
console.log($(this).text());
})