You can achieve this using setTimeout. you can change the timeout (im using 100) according to your requirement.
var timeoutId;
$(selector).scroll(function(){
if(timeoutId ){
clearTimeout(timeoutId );
}
timeoutId = setTimeout(function(){
}, 100);
});
Anoop source
share