Tell me how to scroll elements generated using ajax for example? Those. what to apply where needed instead
$(window).scroll(function () { console.log($(document).height()); });
do this way:
$(window).live('scroll', function() { console.log($(document).height()); });
On the Internet, they write that scroll does not support live, but they do not write what to do about it. To dig towards delegate?