首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
JS获取地址栏参数
JS获取地址栏参数
it
2026-02-11
13
function getParamString(name){ var reg = new RegExp("(^|&)"+ name +"=([^&]*)(&|$)"); var r = window.location.search.substr(1).match(reg); if(r!=null)return unescape(r[2]); return null; }
转载请注明原文地址: https://lol.8miu.com/read-34184.html
最新回复
(
0
)