js获取url中指定的参数值 2021/5/20 前端技术 0 Comments 639 Views 1 Times function getQueryString(name) {var reg = new RegExp(“(^|&)” + name + “=([^&]*)(&|$)”…