如何获得当前路径
在js中我想打开一个代理,比如window.location.href="/aa/bb.nsf/cc?OpenAgent
但是不想使用到/aa/bb.nsf,直接cc/openagent就可以了,不知道有没有什么办法,在notes中可以使用
Dim curDbPathStr As String
curDbPathStr$ = curDb.FilePath
Print "[/" + curDbPathStr + "/eMgzView?openview]"
但是在js中,不知道是什么,谢谢