$('#container').unbind("scroll").bind('scroll',function(e){var sum = this.scrollHeight - 5;console.log(sum)console.log($(this).scrollTop() + $(this).height())if(sum <=$(this).scrollTop() + $(this).height()){
getmore();
}
})
$('#container').unbind("scroll").bind('scroll',function(e){var sum = this.scrollHeight - 5;console.log(sum)console.log($(this).scrollTop() + $(this).height())if(sum <=$(this).scrollTop() + $(this).height()){
getmore();
}
})