Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
340
igTextEditor- blur Event returning previous value not current entered value.
posted

Code :

$("#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