I have a div box (called flux) with a variable amount of content inside. This divbox has overflow set to auto.
Now, what I am trying to do, is, when the use scroll t
this worked for me though
$(window).scroll(function() { if ($(window).scrollTop() >= (($(document).height() - $(window).height()) - $('#divID').innerHeight())) { console.log('div reached'); } });