请教 chenyg2000(icerain) || 991god(上帝) 一个问题!

flyingpipo 2004-08-24 09:49:16
还是iNotes里面的问题呀:
By using: http://mailhost/mail/mailfile.nsf/iNotes/Proxy/?OpenDocument&Form=s_ReadViewEntries&PresetFields=FolderName;($Inbox)&Start=1&Count=-1
it includes a unread property like: <viewentry position="1" unid="BE6363C2D21A656685256BDF0045C9E4" noteid="906" siblings="1" unread="true">
其中 unread="true" 这个属性怎么样才能判断到呀?
...全文
181 3 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
flyingpipo 2004-08-24
  • 打赏
  • 举报
回复
to chenyg2000(icerain):
服务器端是不是需要按照MSXML?
flyingpipo 2004-08-24
  • 打赏
  • 举报
回复
非常感谢!
chenyg2000 2004-08-24
  • 打赏
  • 举报
回复
oXsl = new ActiveXObject("Microsoft.XMLDOM")
oXsl.async = false
oXsl.load("/mail/admin.nsf/iNotes/Proxy/?OpenDocument&Form=s_ReadViewEntries&PresetFields=FolderName;($Inbox)&Start=1&Count=-1");
objNodeList = oXsl.documentElement.selectNodes("//viewentry");

var unreadCounter = 0 ;
for (var i=0; i<objNodeList.length; i++) {
if(objNodeList.item(i).getAttribute("unread")=="true")
unreadCounter ++;
}

alert(unreadCounter)
alert(objNodeList.length);

536

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 Exchange Server
社区管理员
  • 消息协作社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧