Определить Div прокрутки JQuery

Я хочу обнаружить прокрутку div. Этот код обнаруживает прокрутку всего окна:

$(document).ready(function() {
var track_load = 0; //total loaded record group(s)
var loading  = false; //to prevents multipal ajax loads
var total_groups = ; //total record group(s)

$('#results').load("autoload_process.php", {'group_no':track_load}, function() {track_load++;}); //load first group

$(window).scroll(function() { //detect page scroll

    if($(window).scrollTop() + $(window).height() == $(document).height())  //user scrolled to bottom of the page?
    {

        if(track_load 

Ответы на вопрос(1)

Ваш ответ на вопрос