查看文章
JS 模拟的GET方法代码:
function _GET(){
var url = window.top.location.href;
var start = url.indexOf('?')+1;
var end = url.length;
var Query_String = url.substring(start, end);
var Get = Query_String.split('&');
for (var i in Get){;
var tmp = Get[i].split('=');
if(tmp[0]=='inviteuid'){
document.getElementById("inviteuid").value=tmp[1];
}
}
}