I have a div with overflow:scroll.
I want to know if it\'s currently scrolled all the way down. How, using JQuery?
This one doesn\'t work: How can I determin
For me $el.outerHeight() gives the wrong value (due to the border width), whereas $el.innerHeight() gives the correct one, so I use
$el.outerHeight()
$el.innerHeight()
function isAtBottom($el){ return ($el[0].scrollHeight - $el.scrollTop()) == $el.innerHeight(); }