How to determine, without using jQuery or any other JavaScript library, if a div with a vertical scrollbar scrolls to the end?
My question is not how to scroll to the end. I know how to do it. I want to determine if the div scrolls to the end.
This does not work:
if (objDiv.scrollTop == objDiv.scrollHeight)
javascript scroll scrollbar
Bjorn Tipling May 18 '09 at 3:19 a.m. 2009-05-18 03:19
source share