I wish to achieve content load when the user scrolls to the bottom of the page.
I am having a problem. It works fine on desktop browsers but not on mobile. I have imple
This is what worked for me:
(window.innerHeight + window.scrollY) == $(document).height()
Found here: Javascript: How to detect if browser window is scrolled to bottom?