jqury scroll to top code example
Example 1: jquery scroll to top of div
$('#DIV_ID').scrollTop(0);
Example 2: scrool to top jquerry
$("a[href='#top']").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});
$('#DIV_ID').scrollTop(0);
$("a[href='#top']").click(function() {
$("html, body").animate({ scrollTop: 0 }, "slow");
return false;
});