日期:2014-05-16  浏览次数:20362 次

js验证是否有scrollbar
if($(document.body)[0].scrollHeight>$(document.body)[0].clientHeight){
alert(true);
}

chrome下测试通过。