, :
var addFunction = function (item) {
....
};
var deleteFunction = function (item) {
....
};
this.$("#mySelector").tokenInput("/ABC/GetMethod", {
preventDuplicates: true,
theme: "facebook",
queryParam: "term",
tokenLimit: 1,
onAdd: addFunction,
onDelete: deleteFunction
});