asp.net 2.0 ajax中实现弹出窗口报警提示
采集日期:2008-4-26作者:fzzsh(注:本数据由系统自动采集,内容与BHCODE无关)
numberOfEmails = (int)cmd.return numberOfEmails;if (numberOfEmails_new >numberOfEmails_original) { ShowPopup();$get("modalBody").innerHTML= numberOfEmails_new - numberOfEmails_original;// Update the count here numberOfEmails_original= numberOfEmails_new;这个方法,用当前邮件数-原来邮件数,就得出新增了多少封邮件了,再将结果赋值给显示区域的modalbody,并且记得把当前邮件数量的变量更新哦(numberOfEmails_original= numberOfEmails_new;)