I'm populating email-id in the text box value using ng-repeat
. Using the edit icon I'm adding an email-id in the text box and on the text box focus out I have to create a token for the email-id in the text box.
I have to find out the token input and create 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);
}
});
});
But the div of thisChild getting differed.