js获取当前路径的简单示例代码

上传:hswwilliam 浏览: 16 推荐: 0 文件:PDF 大小:17.39KB 上传时间:2020-12-13 11:37:56 版权申诉
[removed] thisURL = document.URL; thisHREF = [removed].href; thisSLoc = self.location.href; thisDLoc = [removed]; strwrite = ” thisURL: [” + thisURL + “]” strwrite += ” thisHREF: [” + thisHREF + “]” strwrite += ” thisSLoc: [” + thisSLoc + “]
上传资源
用户评论