$(document).ready(function() {
$("#scroll").click(function() {
$('html, body').animate({
scrollTop: $("#commentlist").offset().top
}, 1000);
});
});
转载于:https://www.cnblogs.com/liubingboke/p/8316105.html
$(document).ready(function() {
$("#scroll").click(function() {
$('html, body').animate({
scrollTop: $("#commentlist").offset().top
}, 1000);
});
});
转载于:https://www.cnblogs.com/liubingboke/p/8316105.html