When populating an email-id in the text box value using ng-repeat
, I am utilizing the edit icon to add an email-id and then generating a token for it when the focus is removed from the text box.
I need to identify the token input and generate the token.
$(".tagemail")
.parent()
.focusout(function () {
$(".token-input").each(function (valindex) {
if ($(this).val() != "") {
var value = $(this).val();
var id = $(this).attr("id");
$("#" + id).val("");
thisChild.tokenfield("createToken", value);
}
});
});
However, the div of thisChild seems to be changing.