js获取location.href的参数

来源:互联网 发布:工程造价数据库 编辑:程序博客网 时间:2024/05/22 02:28
window.location.search.substr(1); //substr(1) 是去掉参数里最开头的?号。
原创粉丝点击