javaScript获取地址栏(url)某个参数值
javaScript获取地址栏(url)某个参数值//参数即为参数function getUrlParam(variable){ var query = window.location.search.substring(1); var vars = query.split("&"); for (var i=0;i<vars.length;i++) { var pair = vars[i].split("=");
原创
2021-04-23 17:05:46 ·
113 阅读 ·
0 评论