加载使用jQuery滚动的内容

Is that possible to use jQuery plugin like Infinite Ajax Scroll to load content which is dynamically created with JavaScript ?

Thank you.

this is base

$(window).scroll(function(){


if($(this).scrollTop()+$(this).height() == $("body").get(0).scrollHeight){  
// call function 
}

})

The answer to your question would be "Yes, it is possible".

Please read the guidelines on how to post appropriate question, so you can get the best of the community.

The plugin has extensive documentation, I'd advise you read it first.

https://github.com/webcreate/Infinite-Ajax-Scroll#readme

And demos:

http://www.fieg.nl/ias-demo

View the source code on the demos to get a better explanation how to use it.