function(url) {
		url = url || location.search;
		var splitIndex = url.indexOf('?');
		var queryString = url.substr(splitIndex + 1);
		var paramArray = queryString.split('&');
		var result = {};
		for (var i in paramArray) {
			var params = paramArray[i].split('=');
			result[params[0]] = params[1];
		}
		return result;
	}
function(url) {
		url = url || location.search;
		var splitIndex = url.indexOf('?');
		var queryString = url.substr(splitIndex + 1);
		var paramArray = queryString.split('&');
		var result = {};
		for (var i in paramArray) {
			var params = paramArray[i].split('=');
			result[params[0]] = params[1];
		}
		return result;
	}
function ( url ) { url = url || location . search ; var splitIndex = url . indexOf ( '?' ) ; var queryString = url . substr ( splitIndex + 1 ) ; var paramArray = queryString . split ( '&' ) ; var result = { } ; for ( var i in paramArray ) { var params = paramArray [ i ] . split ( '=' ) ; result [ params [ 0 ] ] = params [ 1 ] ; } return result ; }
获取 QueryString
获取 QueryString
Get the query parameters from the URL