js点击回到顶部

function back2Top() {
$("body,html").animate({scrollTop:0},1000);
return false;
}

原文地址:https://www.cnblogs.com/chenlongsheng/p/11107324.html