//監聽滾動條,加載資料
$("#news_list").bind('scroll', function(){
var h1=$('#news_list').get(0).scrollHeight;//div填充内容後的實際高度
var h2=$('#news_list').height();//div的可見區域的高度
var h3=$('#news_list').scrollTop();//被滾動條隐藏的高度
//console.log(h1+">>"+h2+">>"+parseInt(h3));
if(h2+parseInt(h3)==h1){
alert(121);
}
});