//获取站内信未读总数(在站内信删除未读新信件时调用此函数更新未读数)
function getFhsmsCount(){
$.ajax({
url:" ",
type: 'POST',
async: false,
cache: false,
dataType : 'json',
contentType: false,
processData: false,
success: function (data) {
fhsmsCount = Number(data.total.TOTAL);
setTimeout("setFhsmsCount(\""+fhsmsCount+"\")",80); //先设置 一个超时在加载
},
error: function (request) {
}
});
}
function setFhsmsCount(fhsmsCount){
$("#fhsmsCount").html(fhsmsCount);
}
function getFhsmsCount(){
$.ajax({
url:" ",
type: 'POST',
async: false,
cache: false,
dataType : 'json',
contentType: false,
processData: false,
success: function (data) {
fhsmsCount = Number(data.total.TOTAL);
setTimeout("setFhsmsCount(\""+fhsmsCount+"\")",80); //先设置 一个超时在加载
},
error: function (request) {
}
});
}
function setFhsmsCount(fhsmsCount){
$("#fhsmsCount").html(fhsmsCount);
}