摘要:
javascript获得当前文档的相对路径 function fRelativePath(sRelative) { // shawl.qiu code, return string var sUrl = document.URL; sUrl = sUrl.replace(/^.*?\:\/\/[^\/]+/, "").replace(/[^\/]+$/, ""); if(!sRelative)... 阅读全文
posted @ 2010-03-29 18:50
gisdream
阅读(1588)
评论(0)
推荐(0)
浙公网安备 33010602011771号