I have a page(let's call it 1.php) that loads 2.php into a div-box using jQuery-ajax. 2.php prints 20 records from my database. When I reach the bottom of the div-box when scrolling, I want it to load the next 20 records. Like Facebook, Twitter, etc, etc does it.
Now, I've gotten this behaviour, but only when loading 2.php on it's own! But not within the div-box.
How do I go about this?
Thanks in advance!