1. 首页
  2. 行业
  3. 咨询
  4. js获取当前路径的简单示例代码

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

上传者: 2020-12-13 11:37:56上传 PDF文件 17.39KB 热度 19次
[removed] thisURL = document.URL; thisHREF = [removed].href; thisSLoc = self.location.href; thisDLoc = [removed]; strwrite = ” thisURL: [” + thisURL + “]” strwrite += ” thisHREF: [” + thisHREF + “]” strwrite += ” thisSLoc: [” + thisSLoc + “]
下载地址
用户评论