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

SQL/PHP: Table design question -

NHibernate Passing Session to the Repository -

asp.net - How do I pass login ID as parameter to SharePoint login page? -