tag-it
tag-it copied to clipboard
Callback not working (Version 2.0)
$("#searchuser").tagit({
allowDuplicates: false,
tagLimit: 1,
availableTags: memberlist.users,
afterTagAdded: function (event, ui) {
// do something special
console.log(ui.tag);
console.log('Nyah 2');
}
}).on("afterTagAdded", function (event, ui) {
// do something special
console.log(ui.tag);
console.log('Nyah');
});
I tried the classic example and the on. Nothing :c