Kod aşağıdaki gibidir;
HTML : <button id="top">Scroll To Top</button>
Javascript;
$(function() {
$("#top").on('click', function() {
$("HTML, BODY").animate({
scrollTop: 0
}, 1000);
});
});
C#,MVC,MSSQL,Windows Forms