S
Simon Wigzell
I want to display HTML text inside a div and have the page open scrolled to
the bottom. (My div has overflow:auto so that it appears with scroll bars)
I have found this that works on a textarea:
document.all.MyDivId.scrollTop = document.all.MyDivId].scrollHeight;
But this doesn't work on a div. I am using a div because the text I am
displaying contains HTML. Surely it is possible to simply set a scroll bar
to the bottom in a div??? Thanks!
the bottom. (My div has overflow:auto so that it appears with scroll bars)
I have found this that works on a textarea:
document.all.MyDivId.scrollTop = document.all.MyDivId].scrollHeight;
But this doesn't work on a div. I am using a div because the text I am
displaying contains HTML. Surely it is possible to simply set a scroll bar
to the bottom in a div??? Thanks!