您的位置: 首页 > IT文章 > 刷新页面时滚动到最顶端 刷新页面时滚动到最顶端 分类: IT文章 • 2023-11-08 22:07:30 $(window).on('beforeunload', function () { $(window).scrollTop(0); });