Online message
If you are interested in our products, please leave a message or contact the online customer.
");
//AJAX请求
if($(".pro-box").size()<26)
$(".loadmore").hide();
var page =2;
$(".loadmore").click(function(){
$.ajax({
cache: false,
type:"get",
url:"/fyjz/produclist_promotion/index.html"+"&page="+page,
beforeSend:function(){$(".loadmore").html("").removeClass("loadmore").addClass('load')},
error:function(){$(".load").hide();},
success:function(result){
if($.trim(result)==""){
$(".load").hide();
return;
}
$(".product-list").append(result);
if((($(".pro-box").size()-1)%25)!=0)
$(".load").hide();
else
$(".load").html("LOAD MORE").removeClass("load").addClass('loadmore');
page++;
}
});
});