webapp怎么判断滚动条到达底部
1 回答

MMTTMM
TA贡献1869条经验 获得超4个赞
1 2 3 4 5 6 7 8 | $(window).scroll(function(){ var scrollTop = $(this).scrollTop(); var scrollHeight = $(document).height(); var windowHeight = $(this).height(); if(scrollTop + windowHeight == scrollHeight){ //alert(213); } }); |
- 1 回答
- 0 关注
- 1002 浏览
添加回答
举报
0/150
提交
取消