jq检测网页滚动条是否到达底部,把滚动条永远拉到底部

if( $( window). scrollTop()< $( document). height()){
$( window). scrollTop( $( document). height())
}

猜你喜欢

转载自blog.csdn.net/qq_40101922/article/details/80972378