textbox - how to tell when scroll bar is at bottom of an asp.net multiline text box -


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

Using Javascript:

In Internet Explorer: document.body.scrollLeft Document.body.scrollTop

In Netscape: window.pageXOffset window.pageYOffset


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -