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
Since it works without jQuery like that :
var isBottom = node.scrollTop + node.offsetHeight === node.scrollHeight;
I do :
var node = $('#mydiv')[0]; // gets the html element if(node) { var isBottom = node.scrollTop + node.offsetHeight === node.scrollHeight; }