fcarriedos
26 Jan 2012, 3:42 AM
Hi there,
i am using a TextArea component that is being appended new text by the server side (no typing by the user and it is set to be readonly). Once the text within the component has overflown i would like it to scroll automatically to the bottom on every change, but i am unable to find the appropriate event on the listener declaration to trigger the scrolling code execution (btw such code works, i tested it with another event).
So, the point is, what event should i use??? My guess is something similar to change or onchange but not depending on key pressing and so on.
Thanks in advance!!!
i am using a TextArea component that is being appended new text by the server side (no typing by the user and it is set to be readonly). Once the text within the component has overflown i would like it to scroll automatically to the bottom on every change, but i am unable to find the appropriate event on the listener declaration to trigger the scrolling code execution (btw such code works, i tested it with another event).
So, the point is, what event should i use??? My guess is something similar to change or onchange but not depending on key pressing and so on.
Thanks in advance!!!