function scrollToEnd(){//滚动到底部 var h = $(document).height()-$(window).height(); $(document).scrollTop(h); }
(摘抄自http://www.cnblogs.com/hui-blog/p/5526278.html)
时间: 2024-08-27 17:02:29
function scrollToEnd(){//滚动到底部 var h = $(document).height()-$(window).height(); $(document).scrollTop(h); }
(摘抄自http://www.cnblogs.com/hui-blog/p/5526278.html)