0
votes

I am working on an asp.net page and I have a multiline text box that displays some text. I want the user to have to scroll all the way to the bottom before I display a checkbox for them to continue. My question is how can you tell if the scroll bar is at the bottom?

1

1 Answers

1
votes

By using javascript:

in Internet Explorer: document.body.scrollLeft document.body.scrollTop

in Netscape: window.pageXOffset window.pageYOffset