87,910
社区成员
发帖
与我相关
我的任务
分享
function getComPage(classid,id,pagenum){
var url = '/e/ajax/index.php?';
var params ='action=getComPage' + '&classid=' + classid + '&id=' + id + '&pagenum=' + pagenum;
url+=params;
var functionName=function (classid,id,pagenum){
if(xmlHttp.readyState==4){
if(xmlHttp.status==200){
if(xmlHttp.responseText!=0){
$(".comnav1").html(xmlHttp.responseText);
getComList(classid,id,pagenum);
}
else {
$(".comnav1").html("");
}
}
else if(xmlHttp.readyState!=4)
{
loadING("#commentinfo");
}
}
};
makeRequest(url, functionName, "GET", '');
}
function getComPage(classid,id,pagenum){
var url = '/e/ajax/index.php?';
var params ='action=getComPage' + '&classid=' + classid + '&id=' + id + '&pagenum=' + pagenum;
url+=params;
var functionName=function (){
temp(classid,id,pagenum);
};
makeRequest(url, functionName, "GET", '');
}
function temp(classid,id,pagenum){
if(xmlHttp.readyState==4){
if(xmlHttp.status==200){
if(xmlHttp.responseText!=0){
$(".comnav1").html(xmlHttp.responseText);
getComList(classid,id,pagenum);
}
else {
$(".comnav1").html("");
}
}
else if(xmlHttp.readyState!=4)
{
loadING("#commentinfo");
}
}
}