There are two ways to do this: for example, URL: http://h5.49you.com/reg.html?sid=1&a=2&b=3&c=4
1. function getquerystring (name) {
var reg = new RegExp ("(^|&)" + name + "= ([^&]*) (&|$)", "I");
var r = window.location.search.substr (1). Match (REG);
if (r!=null) return (r[2]); return null;
}
var sid = GetQueryString ("Sid");
var a = getquerystring ("a");
var B = getquerystring ("B");
var c = getquerystring ("C");
2, var $_get = (function () {
var URL = Window.document.location.href.toString ();
var u = url.split ("?");
if (typeof (u[1]) = = "string") {
u = U[1].split ("&");
var get = {};
for (var i in u) {
var j = u[i].split ("=");
get[j[0]] = j[1];
 }
return get;
} else {
return {};
}
}) ();
var sid=ad = $_get[' sid ');
var a=ad = $_get[' a '];
var b=ad = $_get[' B '];
var c=ad = $_get[' C ');
js method Gets the arguments passed by the Get mode.