$(document).ready(function(e){ $(document).scroll(function(){ if($(window).scrollTop() + $(window).height() == $(document).height()){ var pictureCount = $(".Picture-1A").length; alert(pictureCount); $.get('ajax/more-pictures.php', {off_set:pictureCount}, function(data){ $("#Picture-1A").append(data); }); } }); });
$.ajaxSetup({cache:false});
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)