I wish to implement infinite scrolling with javascript and without jquery.
I am new to javascript.
After searching all over the net, I have this code.
I used scrollHeight, scrollTop and clientHeight attribute of the element to find whether the scroll hit the bottom. Here is my code. I hope it helps.
Click here for more information.
Image describing scrollHeight, scrollTop and clientHeight.
Infinite Scroll Infinite Scroll Example