<Div> scrolling event is not firing in IE 7 , IE 8 but it is working fine in IE9.

<Div> scrolling event is not firing in IE 7 , IE 8 but it is working fine in IE9.

Hi 

I have div with ID =" mainListDiv".
I need to run some code on client side in scrolling event of this div but scrolling event is firing only on IE 9 but not on IE 7 and IE8.

Please help me to solve this problem.

NOTE: .read() of div is working fine on all IE versions.

Below is my code:-

$('[id$=mainListDiv]').ready(function () {
                    $('[id$=mainListDiv]').scroll(function () {

                        //some code

                        }
                    });
                });