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
As a quick hack you can just do this:
textArea.scrollTop = 99999;
Another option is to try it in a timer:
setTimeout(function() { var textArea = document.getElementById('outputTextResultsArea'); textArea.scrollTop = textArea.scrollHeight; }, 10);