I have a js funciton executed at one textbox OnKeyUp event.
The textbox has a value by default.
If I place my cursor in the middle of the string and I add a char, the cursor moves at the end of the string.
I know that this is because the executed function recalculate and set the textbox value.
Is there a way to avoid the cursor moving at the end of the string?
Thanks