I want to load the content in div.I got many jquery scoll plugins but all are they for whole page load.I want to load content in existing div when scroll reaches at bottom o
I know it's an old topic, but just to be complete: As said before, you could use jQuery.Lazy for this. But I would not do it the here shown way. :) There is already a plugin for loading Add the Plugin to your page: (you will need jQuery or Zepto as well) Prepare your div's: (note the And start using Lazy: That's it! The content given in
data-loader and data-src attributes)
$(function() {
$("div[data-src]").Lazy();
});
data-src will be loaded whenever the user reaches the