判断滚动条滚动到底部 原理: 页面的长度 = 窗口高度 + 滚动条滚动距离 scrollTop()>=$(document).height()-$(window).height()if(>){ //滚动到底部 $ajax(); //加载内容}