`

js验证是否有scrollbar

阅读更多
if($(document.body)[0].scrollHeight>$(document.body)[0].clientHeight){
alert(true);
}

chrome下测试通过。

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics