返回URL的域名后的部分方法

来源:互联网 发布:淘宝贷款利息高不高 编辑:程序博客网 时间:2024/06/15 11:11

做程序是用到的方法 记录一下

var pathname = window.location.pathname;     返回URL的域名后的部分

0 0