Using infinite scroll w/ a MySQL Database
问题 I found a nice ajax/jquery infinite scroll plugin ( http://hycus.com/2011/03/15/infinite-scrolling-like-new-twitter-with-php-mysql-jquery/ ) that I was able to mold well to my content, but I'm having one issue -- it only calls the loadmore.php script once. Let me show the code: In my index.php file: <script type="text/javascript"> $(window).scroll(function(){ if($(window).scrollTop() == $(document).height() - $(window).height()){ $('div#loadmoreajaxloader').show(); $.ajax({ url: "loadmore.php