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 -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -