Enabling a check box based on the position of scroll bar in a text area..
Joined: Feb 07, 2008
In one of my recent project requirements for a Web Application, I have to enable a check box based on whether a user has scrolled till end in the agreement text.
The agreement text is present in a textarea and the checkbox (by checking on which, the user agrees to the terms and conditions mentioned in the text area) is present outside the text area. The user should be able to check the checkbox only when he/she has scrolled till the end in the textarea.
Joined: Nov 08, 2001
onscroll and scrollTop is probably what you are after.