infiniteScroll not working with dynamic content
I am using masonry + infinite scroll but when I have to replace the content of a div with a HTML that comes from another ajax call the scroll stops working even tough the nav element is there.

So if the content comes when the page first loads the infinite scroll works but if in this  page I replace the content of a div with an HTML that comes from an ajax call and contains the <nav> element the infinite scroll stops working.

Any idea



infiniteScroll not working with dynamic content
===

I am using masonry + infinite scroll but when I have to replace the content of a div with a HTML that comes from another ajax call the scroll stops working even tough the nav element is there.

So if the content comes when the page first loads the infinite scroll works but if in this  page I replace the content of a div with an HTML that comes from an ajax call and contains the <nav> element the infinite scroll stops working.

Any idea


