Dynamically Scrolling a Textarea

后端 未结 5 819
伪装坚强ぢ
伪装坚强ぢ 2020-11-29 08:42

I have a textarea html element on my page that gets reloaded via ajax. The whole textarea is returned each time not just its content, and the content grows over time. Along

5条回答
  •  隐瞒了意图╮
    2020-11-29 09:10

    Instead of using the timeout, call that function on every AJAX response - provided you can tweak it.

    That would free your browser from unnecessary timeouts.

提交回复
热议问题