This code has been tested and verified as working. When you scroll your div, the code checks if the scroller reached to the bottom by comparing the scroller height against the scroller position. If so, it calls to a method that gets more content and append it to the div.
Test Scroll Height:This is the div content
This is the div content
This is the div content
This is the div content
This is the div content
This is the div content
Scroll position:
0 comments:
Post a Comment