igTextEditor Blur Event Returns Previous Value Not Current
New DiscussionCode :
$(“#textEditor”).igTextEditor({
width: 160,
nullText: “Enter Text”,
blur: function (evt) {
alert(“blur : ” + $(“#textEditor”).igTextEditor(“option”, “value”));
}
});
Step 1: Enter value as “1” in textbox and click outside, now blur event will trigger in that i get textbox value as “Null”.
Step 2: Enter value as “2” in textbox and click outside, now blur event will trigger in that i get textbox value as “1”.
Step 3: Enter value as “3” in textbox and click outside, now blur event will trigger in that i get textbox value as “2”.
I do not know how to get the current entered value when Blur event triggers. can anyone help me.
I’m able to get the current entered value in “valueChanged” event, but i want that to to happen when control losses the focus(blur) kind of it.
Thank you