Last active
November 27, 2017 16:21
-
-
Save peacefulseeker/2899517ea0018abb2a83aa5b56ff484f to your computer and use it in GitHub Desktop.
jQuery - Infinite Scroll Down on dynamic ajax content loaded
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Test here: http://www.meinpraktikum.de/praktikum/suchen?utf8=%E2%9C%93&q=&location=*/ | |
(function( $ ) { | |
$(document).ajaxComplete(function(){ | |
$("html, body").animate({ scrollTop: $(document).height() }, "slow"); | |
console.log($(".search-result-vacancies-box").length); | |
}) | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment