$(document).scroll(function(){
var dHeight = $(document).height();
var wHeight = $(window).height();
var scrollTop = $(document).scrollTop();
if( dHeight-wHeight <= scrollTop){
alert("到底了");
}
})
is good!
2022-08-08 13:13:56
$(document).scroll(function(){
var dHeight = $(document).height();
var wHeight = $(window).height();
var scrollTop = $(document).scrollTop();
if( dHeight-wHeight <= scrollTop){
alert("到底了");
}
})
is good!