加入get url为 https://mp.csdn.net/postedit?id=111
想要获取id的参数值
var node = window.location.search;
node = node.substring(1, node.length);
typeNode = node.split("&")[0].split("=")[1];
可以解析出来id的参数值
加入get url为 https://mp.csdn.net/postedit?id=111
想要获取id的参数值
var node = window.location.search;
node = node.substring(1, node.length);
typeNode = node.split("&")[0].split("=")[1];
可以解析出来id的参数值