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?
R – how to tell when scroll bar is at bottom of an asp.net multiline text box
asp.netscrolltextbox
Related Topic
- C# – How to automatically scroll to the bottom of a multiline text box
- Asp.net-mvc – ASP.NET MVC – Set custom IIdentity or IPrincipal
- Android – Maintain/Save/Restore scroll position when returning to a ListView
- Javascript – Scroll to an element with jQuery
- CSS – Overflow: Scroll; – Always show vertical scroll bar
- Javascript – How to set textarea scroll bar to bottom as a default
- Javascript – Keep overflow div scrolled to bottom unless user scrolls up
Best Answer
By using javascript:
in Internet Explorer: document.body.scrollLeft document.body.scrollTop
in Netscape: window.pageXOffset window.pageYOffset