How to auto-trigger onscroll when dynamically adding content with jQuery?
With .on(scroll or .scroll( we can detect window or element scrolling when we do a physical scroll, by either dragging the scrollbar or using the mousewheel.
But it cannot be auto-triggered with dynamically added content.
There is an event listener
MozScrolledAreaChanged which is for Mozilla only.
Is there a cross-browser solution for this? I'v seen the DOM check method, which checks DOM element change all the time, and doesn't seem to be a good one.