scroll page to top after ajax success code example
Example: scroll page to top after ajax success
$('body').ajaxSuccess(function() {
$('html, body').animate({ scrollTop: 0 }, 'slow');
});
$('body').ajaxSuccess(function() {
$('html, body').animate({ scrollTop: 0 }, 'slow');
});