Hey, I've got an HTML page with several span tags, each of which will gain text as my script runs. I've got them fixed in a box, and overflow set to "auto" so that they'll have a scrollbar when the text can no longer fit.
\I want the scroll bar to move down as far as it can go each time text is added, so that it "follows" the text. My problem is that I'm not sure how to do this. Is there some easy way with Javascript to set the position of the scrollbar?
\I want the scroll bar to move down as far as it can go each time text is added, so that it "follows" the text. My problem is that I'm not sure how to do this. Is there some easy way with Javascript to set the position of the scrollbar?
Comment