window.location.href获取返回值_location

window.location.href获取返回值_location window.location.href="Templelate_Detail.html?id="+idValue+"&key="+idKey; 怎么获取id的参数呢 方法:varurltype=getQueryString('id'); console.log(urltype)

 window.location.href = "Templelate_Detail.html?id=" + idValue + "&key=" + idKey;

 

怎么获取id的参数呢

 

方法:

var urltype = getQueryString('id'); 

console.log(urltype)

本文来源百里秀一,由架构君转载发布,观点不代表Java架构师必看的立场,转载请标明来源出处:https://javajgs.com/archives/212282
0

发表评论