The following has been tested, and works fine:
$(window).scroll(function() {
if ($(window).scrollTop() == $(document).height() - $(window).height()) {
loadMore();
}
});
More Related Contents:
- How to programmatically disable page scrolling with jQuery
- Scroll to a div using jQuery
- How can I scroll to a specific location on the page using jquery?
- jQuery Scroll to bottom of page/iframe
- How to detect scroll direction
- Can I change the scroll speed using css or jQuery?
- jQuery scroll to ID from different page
- Activate CSS3 animation when the content scrolls into view
- Detect middle button click (scroll button) with jQuery
- More efficient way to handle $(window).scroll functions in jquery?
- jquery change background color user scroll
- Animate scroll to ID on page load
- Show Div when scroll position
- How do I scroll a row of a table into view (element.scrollintoView) using jQuery?
- jQuery disable scroll when mouse over an absolute div
- Differentiate between scroll up/down in jquery? [duplicate]
- How do I get the height of a div’s full content with jQuery?
- jquery – keep window from changing scroll position while prepending items to a list?
- Disable scrolling when changing focus form elements ipad web app
- jQuery trigger when 2/3s of div are in viewport
- How to make div follow scrolling smoothly with jQuery?
- How to detect horizontal scrolling in jQuery?
- jQuery animate scroll
- scroll up and down a div on button click using jquery
- Use jQuery to check mousewheel event without scrollbar
- Detect user scroll down or scroll up in jQuery [duplicate]
- Jquery .on(‘scroll’) not firing the event while scrolling
- Use jQuery to hide a DIV when the user clicks outside of it
- How can I bind all events on a DOM element?
- change focus into particular div