How do you call a JavaScript (AJAX) function when the user reaches the end of a page to load new content?

On twitter (new twitter) and facebook they now have the the ability to load new tweets and posts when you hit the bottom of the page..

Is there a JavaScript / jQuery event that you can call / add to a div so when the browser hits the bottom it does some ajax call to get the new data?

Thanks

Daniel

7
задан Daniel Vassallo 6 October 2010 в 07:23
поделиться