W
wangpinggang
Unregistered / Unconfirmed
GUEST, unregistred user!
如何将这段vbscript代码转换为javascript s=location.href while Len( s ) > 0 AND InStr( s,"/")>0 s = Mid( s, InStr( s,"/")+1 ) wend CurFile=location.href CurPathStr=Mid(CurFile,1,len(CurFile)-len(s))